Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/streetwriters/notesnook
/ init
Method
init
packages/core/src/collections/relations.ts:48–51 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
46
}
47
48
async
init() {
49
// await this.buildCache();
50
await
this.collection.init();
51
}
52
53
async
add(from: ItemReference, to: ItemReference) {
54
if
(!from.id || !to.id) throw
new
Error(
"Invalid item reference."
);
Callers
nothing calls this directly
Calls
1
init
Method · 0.65
Tested by
no test coverage detected