MCPcopy Index your code
hub / github.com/ThatGuySam/doesitarm / applyWorkerScanData

Method applyWorkerScanData

helpers/app-files-scanner.js:387–393  ·  view source on GitHub ↗
( file, scan )

Source from the content-addressed store, hash-verified

385 }
386
387 applyWorkerScanData ( file, scan ) {
388 file.appVersion = scan.appVersion || null
389 file.displayName = scan.displayName || file.displayName
390 file.details = Array.isArray( scan.details ) ? scan.details : []
391 file.displayBinarySize = scan.displayBinarySize || null
392 file.binarySize = typeof scan.binarySize === 'number' ? scan.binarySize : null
393 }
394
395 async scanFile ( file, scanIndex ) {
396

Callers 1

scanMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected