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

Function bundlePresent

__tests__/remove-binary.test.ts:43–51  ·  view source on GitHub ↗

A standard unix bundle install under ~/.codegraph, running from it.

()

Source from the content-addressed store, hash-verified

41
42/** A standard unix bundle install under ~/.codegraph, running from it. */
43function bundlePresent(): Set<string> {
44 const root = `${STATE}/versions/v1.4.0`;
45 return new Set([
46 STATE,
47 `${STATE}/versions`,
48 `${root}/node`,
49 `${root}/bin/codegraph`,
50 ]);
51}
52
53describe('planBinaryRemoval', () => {
54 it('unix bundle at ~/.codegraph: removes artifacts only, never the state dir itself', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected