MCPcopy
hub / github.com/flowjs/flow.js / getChunkFilename

Function getChunkFilename

samples/Node.js/flow-node.js:20–25  ·  view source on GitHub ↗
(chunkNumber, identifier)

Source from the content-addressed store, hash-verified

18 }
19
20 function getChunkFilename(chunkNumber, identifier) {
21 // Clean up the identifier
22 identifier = cleanIdentifier(identifier);
23 // What would the file name be?
24 return path.resolve($.temporaryFolder, './flow-' + identifier + '.' + chunkNumber);
25 }
26
27 function validateRequest(chunkNumber, chunkSize, totalSize, identifier, filename, fileSize) {
28 // Clean up the identifier

Callers 4

flow-node.jsFile · 0.85
testChunkExistsFunction · 0.85
pipeChunkFunction · 0.85
pipeChunkRmFunction · 0.85

Calls 1

cleanIdentifierFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…