Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Doorman11991/smallcode
/ init
Method
init
bin/memory.js:55–61 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
53
54
// Initialize memory directory
55
init() {
56
if
(!fs.existsSync(this.memDir)) {
57
fs.mkdirSync(this.memDir, { recursive: true });
58
}
59
this.save();
60
return
true;
61
}
62
63
// Load all memory objects from disk
64
load() {
Callers
nothing calls this directly
Calls
1
save
Method · 0.95
Tested by
no test coverage detected