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

Method delete

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

Delete a file at the given path

(path: string)

Source from the content-addressed store, hash-verified

63
64 /** Delete a file at the given path */
65 delete(path: string): Promise<void>;
66
67 /** Check if a file exists */
68 exists(path: string): Promise<boolean>;

Callers 15

TTSPageFunction · 0.65
debouncedSaveFunction · 0.65
flushAllWritesFunction · 0.65
copyBookToAppDataFunction · 0.65
_runProducerMethod · 0.65
_cleanupTempFilesMethod · 0.65
_playChunkMethod · 0.65
_cleanupTempFilesMethod · 0.65
_runProducerMethod · 0.65
_cleanupTempFilesMethod · 0.65
deleteEntryFunction · 0.65
deleteFileMethod · 0.65

Implementers 5

WebDavBackendpackages/core/src/sync/webdav-backend.
S3Backendpackages/core/src/sync/s3-backend.ts
LocalFsBackendpackages/core/src/sync/lan-server.ts
LANBackendpackages/core/src/sync/lan-backend.ts
MemoryBackendpackages/core/src/sync/__tests__/simpl

Calls

no outgoing calls

Tested by 6

createTestPlatformFunction · 0.52
deleteWithTombstoneMethod · 0.52
executeMethod · 0.52
deleteBookDependentsMethod · 0.52
deleteMethod · 0.52
moveMethod · 0.52