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

Function writeStoreMetadataState

src/core/store/foundation.ts:374–382  ·  view source on GitHub ↗
(
  storeRoot: string,
  state: StoreMetadataState
)

Source from the content-addressed store, hash-verified

372}
373
374export async function writeStoreMetadataState(
375 storeRoot: string,
376 state: StoreMetadataState
377): Promise<void> {
378 await FileSystemUtils.writeFile(
379 getStoreMetadataPath(storeRoot),
380 serializeStoreMetadataState(state)
381 );
382}
383
384export async function resolveGitStoreBackendConfig(
385 input: ResolveGitStoreBackendInput,

Callers 9

store-git.test.tsFile · 0.85
store.test.tsFile · 0.85
registerStoreFunction · 0.85
registerStoreFunction · 0.85
registry.test.tsFile · 0.85
foundation.test.tsFile · 0.85
setupPreparedStoreFunction · 0.85
ensureStoreMetadataFunction · 0.85

Calls 3

getStoreMetadataPathFunction · 0.85
writeFileMethod · 0.80

Tested by 2

registerStoreFunction · 0.68
registerStoreFunction · 0.68