Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
clear
Method · 0.95
Calls
2
getFileAccess
Function · 0.85
emptyFolder
Method · 0.65
Tested by
no test coverage detected