MCPcopy
hub / github.com/codedogQBY/ReadAny / deleteFile

Method deleteFile

packages/core/src/sync/sync-adapter.ts:43–43  ·  view source on GitHub ↗

Delete a file

(filePath: string)

Source from the content-addressed store, hash-verified

41
42 /** Delete a file */
43 deleteFile(filePath: string): Promise<void>;
44
45 /** Check if a file exists */
46 fileExists(filePath: string): Promise<boolean>;

Callers 9

library-store.tsFile · 0.65
deleteFontFileFunction · 0.65
cleanOldLogsFunction · 0.65
clearLogsFunction · 0.65
downloadRemoteFileToPathFunction · 0.65
cleanupLocalOrphansFunction · 0.65
getMethod · 0.65
deleteMethod · 0.65
moveMethod · 0.65

Implementers 2

MobileSyncAdapterpackages/app-expo/src/lib/sync/sync-ad
DesktopSyncAdapterpackages/app/src/lib/sync/sync-adapter

Calls

no outgoing calls

Tested by

no test coverage detected