Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
259
function
readBlockFile(filePath) {
260
return
JSON.parse(fs.readFileSync(filePath,
'utf8'
));
261
}
262
263
function
loadMemoryBlocks(projectRoot, filters = {}) {
264
const
dir = blocksDir(projectRoot);
Callers
1
loadMemoryBlocks
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected