MCPcopy Create free account
hub / github.com/ThatGuySam/doesitarm / matchesMachoExecutable

Method matchesMachoExecutable

helpers/scanner/scan.ts:302–310  ·  view source on GitHub ↗
( entry: ScanFileEntry )

Source from the content-addressed store, hash-verified

300 }
301
302 matchesMachoExecutable ( entry: ScanFileEntry ) {
303 if ( entry.filename.split( '/' ).length > 4 ) return false
304
305 return [
306 'Contents/MacOS/'
307 ].some( pathToMatch => {
308 return entry.filename.includes( pathToMatch )
309 } )
310 }
311
312 matchesRootInfoPlist ( entry: ScanFileEntry ) {
313 if ( entry.filename.split( '/' ).length > 3 ) return false

Callers 1

fileEntryTypeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected