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

Interface BinaryRemovalPlan

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

Source from the content-addressed store, hash-verified

59}
60
61export interface BinaryRemovalPlan {
62 /** Filesystem paths to delete (bundle dirs / artifacts, shim links). */
63 paths: string[];
64 /** The npm global package is installed and should be `npm uninstall -g`ed. */
65 npmGlobal: boolean;
66 /**
67 * npm's global node_modules root (for the Windows locked-exe dance — the
68 * vendored node.exe lives in the SIBLING per-platform package, so the
69 * whole root is the lock surface, not just the meta package's dir).
70 */
71 npmRoot: string | null;
72 /** Running from a git checkout — surfaced to the user, never deleted. */
73 sourceRoot: string | null;
74 /** One human line per planned removal, for the confirm prompt. */
75 summary: string[];
76}
77
78export function defaultProbes(filename: string): RemoveBinaryProbes {
79 return {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected