MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / getBinaryPath

Function getBinaryPath

scripts/postinstall.cjs:103–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101}
102
103function getBinaryPath() {
104 const dir = getVendorDir()
105 const subdir = `${process.arch}-${process.platform}`
106 const binary = process.platform === 'win32' ? 'rg.exe' : 'rg'
107 return path.resolve(dir, subdir, binary)
108}
109
110// --- Download helpers ---
111

Callers 1

downloadAndExtractFunction · 0.85

Calls 2

getVendorDirFunction · 0.85
resolveMethod · 0.45

Tested by

no test coverage detected