MCPcopy
hub / github.com/garrytan/gstack / gbrainHome

Function gbrainHome

lib/gbrain-guards.ts:38–40  ·  view source on GitHub ↗
(env: NodeJS.ProcessEnv = process.env)

Source from the content-addressed store, hash-verified

36import { parseSourcesList, type GbrainSourceRow } from "./gbrain-sources";
37
38export function gbrainHome(env: NodeJS.ProcessEnv = process.env): string {
39 return env.GBRAIN_HOME || join(homedir(), ".gbrain");
40}
41
42/**
43 * Directories gbrain owns and may delete safely. A source whose local_path

Callers 2

clonesDirsFunction · 0.85
detectAutopilotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected