MCPcopy
hub / github.com/ThatGuySam/doesitarm / finishFileScan

Method finishFileScan

helpers/app-files-scanner.js:372–385  ·  view source on GitHub ↗
( file, scanIndex, {
        binarySupportsNative,
        supportedVersionNumber
    } )

Source from the content-addressed store, hash-verified

370 }
371
372 finishFileScan ( file, scanIndex, {
373 binarySupportsNative,
374 supportedVersionNumber
375 } ) {
376 file.statusMessage = this.getFinishedStatusMessage({
377 binarySupportsNative,
378 supportedVersionNumber
379 })
380 file.status = 'finished'
381
382 if ( binarySupportsNative ) {
383 this.files.unshift( this.files.splice( scanIndex, 1 )[0] )
384 }
385 }
386
387 applyWorkerScanData ( file, scan ) {
388 file.appVersion = scan.appVersion || null

Callers 2

scanFileMethod · 0.95
scanMethod · 0.95

Calls 1

Tested by

no test coverage detected