MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / stateDir

Function stateDir

src/upgrade/remove-binary.ts:108–110  ·  view source on GitHub ↗

The machine-level state dir that must survive an artifacts-only removal.

(p: RemoveBinaryProbes)

Source from the content-addressed store, hash-verified

106
107/** The machine-level state dir that must survive an artifacts-only removal. */
108function stateDir(p: RemoveBinaryProbes): string {
109 return pathFor(p.platform).join(p.homedir, '.codegraph');
110}
111
112/** Candidate bundle install dirs: the running binary's own, plus the defaults. */
113function installDirCandidates(p: RemoveBinaryProbes): string[] {

Callers 2

installDirCandidatesFunction · 0.85
planBinaryRemovalFunction · 0.85

Calls 2

pathForFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected