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

Function toRootOutput

src/core/root-selection.ts:417–423  ·  view source on GitHub ↗
(root: ResolvedOpenSpecRoot)

Source from the content-addressed store, hash-verified

415}
416
417export function toRootOutput(root: ResolvedOpenSpecRoot): RootOutput {
418 return {
419 path: root.path,
420 source: root.source,
421 ...(root.storeId ? { store_id: root.storeId } : {}),
422 };
423}
424
425/**
426 * A store-selected root — explicit `--store` or the declared fallback.

Callers 12

printReportMethod · 0.85
runBulkValidationMethod · 0.85
delegateOptionsMethod · 0.85
instructionsCommandFunction · 0.85
applyInstructionsCommandFunction · 0.85
statusCommandFunction · 0.85
newChangeCommandFunction · 0.85
assembleWorkingSetFunction · 0.85
inspectRelationshipsFunction · 0.85
executeMethod · 0.85
printJsonFailureMethod · 0.85
index.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected