MCPcopy Create free account
hub / github.com/SethGammon/Citadel / readBlockFile

Function readBlockFile

core/memory/blocks.js:259–261  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

257}
258
259function readBlockFile(filePath) {
260 return JSON.parse(fs.readFileSync(filePath, 'utf8'));
261}
262
263function loadMemoryBlocks(projectRoot, filters = {}) {
264 const dir = blocksDir(projectRoot);

Callers 1

loadMemoryBlocksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected