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

Function readStoreMetadataState

src/core/store/foundation.ts:352–358  ·  view source on GitHub ↗
(
  storeRoot: string
)

Source from the content-addressed store, hash-verified

350}
351
352export async function readStoreMetadataState(
353 storeRoot: string
354): Promise<StoreMetadataState> {
355 return parseStoreMetadataState(
356 await fs.readFile(getStoreMetadataPath(storeRoot), 'utf-8')
357 );
358}
359
360export async function readOptionalStoreMetadataState(
361 storeRoot: string

Callers 4

store.test.tsFile · 0.85
registry.test.tsFile · 0.85
foundation.test.tsFile · 0.85

Calls 3

parseStoreMetadataStateFunction · 0.85
getStoreMetadataPathFunction · 0.85
readFileMethod · 0.80

Tested by

no test coverage detected