Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemix/graph
/ statistics
Method
statistics
packages/graph/src/indexes/HashIndex.ts:104–113 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
102
}
103
104
public statistics(): IndexStatistics {
105
let
entries = 0;
106
for
(
const
ids of this.#index.values()) {
107
entries += ids.size;
108
}
109
return
{
110
entries,
111
uniqueValues: this.#index.size,
112
};
113
}
114
}
Callers
nothing calls this directly
Calls
1
values
Method · 0.45
Tested by
no test coverage detected