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

Method getWithProgress

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

Download data with progress reporting (optional — falls back to get() if not implemented)

(
    path: string,
    onProgress?: (loaded: number, total: number) => void,
  )

Source from the content-addressed store, hash-verified

34
35 /** Download data with progress reporting (optional — falls back to get() if not implemented) */
36 getWithProgress?(
37 path: string,
38 onProgress?: (loaded: number, total: number) => void,
39 ): Promise<Uint8Array>;

Callers 2

downloadRemoteFileToPathFunction · 0.65
getWithProgressMethod · 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