MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / getBinaryPath

Function getBinaryPath

projects/electron/src/modules/code/binaries.ts:131–135  ·  view source on GitHub ↗
(def: BinaryDef)

Source from the content-addressed store, hash-verified

129}
130
131function getBinaryPath(def: BinaryDef): string | null {
132 const filename = def.filename[process.platform]
133 if (!filename) return null
134 return path.join(getBinDir(), filename)
135}
136
137function getPlatformKey(): string {
138 return `${process.platform}-${process.arch}`

Callers 3

resolveFunction · 0.85
ensureRuntimeBinaryFunction · 0.85
removeRuntimeBinaryFunction · 0.85

Calls 1

getBinDirFunction · 0.85

Tested by

no test coverage detected