MCPcopy
hub / github.com/Fission-AI/OpenSpec / canonical

Function canonical

test/cli-e2e/store-lifecycle.test.ts:50–52  ·  view source on GitHub ↗
(target: string)

Source from the content-addressed store, hash-verified

48
49// Same canonicalization the product uses (expands Windows 8.3 short names).
50function canonical(target: string): string {
51 return realpathSync.native(target);
52}
53
54async function git(cwd: string, env: NodeJS.ProcessEnv, args: string[]): Promise<string> {
55 const { stdout } = await execFileAsync('git', args, {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected