MCPcopy Create free account
hub / github.com/callstack/agent-device / currentResumableUploadOffset

Function currentResumableUploadOffset

src/daemon/resumable-upload.ts:213–216  ·  view source on GitHub ↗
(entry: ResumableUploadEntry)

Source from the content-addressed store, hash-verified

211}
212
213function currentResumableUploadOffset(entry: ResumableUploadEntry): number {
214 if (!fs.existsSync(entry.payloadPath)) return 0;
215 return Math.min(fs.statSync(entry.payloadPath).size, entry.sizeBytes);
216}
217
218function parseContentRange(
219 value: string | string[] | undefined,

Callers 2

finalizeResumableUploadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…