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

Function isStoreSelectedRoot

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

Source from the content-addressed store, hash-verified

428 * noun-form suggestions) keys on this, never on `source` directly.
429 */
430export function isStoreSelectedRoot(
431 root: ResolvedOpenSpecRoot
432): root is ResolvedOpenSpecRoot & { storeId: string } {
433 return root.storeId !== undefined;
434}
435
436/**
437 * Human-mode verification signal for a selected store. Written to stderr so

Callers 9

validateDirectItemMethod · 0.85
runBulkValidationMethod · 0.85
showDirectMethod · 0.85
statusCommandFunction · 0.85
printCreatedChangeHumanFunction · 0.85
emitStoreRootBannerFunction · 0.85
withStoreFlagFunction · 0.85
runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected