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

Method exists

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

Check if a file exists

(path: string)

Source from the content-addressed store, hash-verified

66
67 /** Check if a file exists */
68 exists(path: string): Promise<boolean>;
69
70 /**
71 * Move/rename a file from `fromPath` to `toPath`.

Callers 12

hasAccessibleLocalFileFunction · 0.65
loadFontIndexFunction · 0.65
loadFontIndexLegacyFunction · 0.65
flushLogsFunction · 0.65
cleanOldLogsFunction · 0.65
collectLogsFunction · 0.65
clearLogsFunction · 0.65
migrateBookRemoteStateFunction · 0.65
existsMethod · 0.65
handleRequestMethod · 0.65
getDesktopDataRootFunction · 0.65
openDesktopBookFunction · 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

no test coverage detected