MCPcopy Create free account
hub / github.com/backnotprop/plannotator / getManagedSemBinaryPath

Function getManagedSemBinaryPath

packages/shared/semantic-diff.ts:158–163  ·  view source on GitHub ↗
(
  dataDir = getPlannotatorDataDir(),
  platform: NodeJS.Platform = process.platform,
)

Source from the content-addressed store, hash-verified

156}
157
158export function getManagedSemBinaryPath(
159 dataDir = getPlannotatorDataDir(),
160 platform: NodeJS.Platform = process.platform,
161): string {
162 return join(dataDir, "vendor", "sem", PLANNOTATOR_SEM_VERSION, semBinaryName(platform));
163}
164
165export function getSemanticDiffScratchCwd(dataDir = getPlannotatorDataDir()): string {
166 const primary = join(dataDir, "semantic-diff", "patch-only");

Callers 2

semCandidatesFunction · 0.85

Calls 2

getPlannotatorDataDirFunction · 0.90
semBinaryNameFunction · 0.85

Tested by

no test coverage detected