MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / getFreebuffBinaryPath

Function getFreebuffBinaryPath

freebuff/e2e/utils/binary-helpers.ts:8–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6export const REPO_ROOT = resolve(__dirname, '../../..')
7
8export function getFreebuffBinaryPath(): string {
9 if (process.env.FREEBUFF_BINARY) {
10 return resolve(process.env.FREEBUFF_BINARY)
11 }
12 return resolve(REPO_ROOT, 'cli/bin/freebuff')
13}
14
15export function requireFreebuffBinary(): string {
16 const binaryPath = getFreebuffBinaryPath()

Callers 1

requireFreebuffBinaryFunction · 0.85

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected