MCPcopy Create free account
hub / github.com/cloudreve/frontend / streamFileToFileSystemDirectory

Function streamFileToFileSystemDirectory

src/util/filesystem.ts:59–85  ·  view source on GitHub ↗
(
  handle: FileSystemDirectoryHandle,
  reader: ReadableStreamDefaultReader<Uint8Array>,
  path: string,
  onProgress: (bytesWritten: number) => void,
  create = true,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 2

closeMethod · 0.45

Tested by

no test coverage detected