MCPcopy Create free account
hub / github.com/tiann/hapi / projectPath

Function projectPath

cli/src/projectPath.ts:12–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10const isCompiled = bunMain.includes('$bunfs') || bunMain.includes('/~BUN/');
11
12export function projectPath(): string {
13 return resolve(__dirname, '..');
14}
15
16export function runtimePath(): string {
17 if (!isCompiled) {

Callers 4

getHappyCliCommandFunction · 0.90
getInstalledCliMtimeMsFunction · 0.90
runDoctorCommandFunction · 0.90
runtimePathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected