MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / csr_partition

Method csr_partition

nodedb/src/data/executor/core_loop/graph_partition.rs:15–17  ·  view source on GitHub ↗
(&self, tid: u64)

Source from the content-addressed store, hash-verified

13 /// read paths treat that as "empty" rather than an error.
14 #[inline]
15 pub(in crate::data::executor) fn csr_partition(&self, tid: u64) -> Option<&CsrIndex> {
16 self.csr.partition(TenantId::new(tid))
17 }
18
19 /// Mutable view of a tenant's CSR partition, creating an empty one
20 /// on first use. Canonical write-path entry point — resolves the

Callers 8

execute_graph_hopMethod · 0.80
execute_graph_matchMethod · 0.80
bfs_with_distancesMethod · 0.80
execute_graph_pathMethod · 0.80

Calls 1

partitionMethod · 0.45

Tested by

no test coverage detected