MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / clearSync

Method clearSync

packages/core/file-system/index.ts:742–744  ·  view source on GitHub ↗
(onError?: (error: any) => void)

Source from the content-addressed store, hash-verified

740 }
741
742 public clearSync(onError?: (error: any) => void): void {
743 getFileAccess().emptyFolder(this.path, onError);
744 }
745
746 get isKnown(): boolean {
747 return this._isKnown;

Callers 1

clearMethod · 0.95

Calls 2

getFileAccessFunction · 0.85
emptyFolderMethod · 0.65

Tested by

no test coverage detected