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

Method get

nodedb-cluster/src/ghost.rs:112–114  ·  view source on GitHub ↗

Look up a ghost stub by node ID.

(&self, node_id: &str)

Source from the content-addressed store, hash-verified

110
111 /// Look up a ghost stub by node ID.
112 pub fn get(&self, node_id: &str) -> Option<&GhostStub> {
113 self.stubs.get(node_id)
114 }
115
116 /// Decrement refcount for a ghost (when a local edge is deleted).
117 /// Returns true if the ghost was purged (refcount reached zero).

Callers 15

get_geohashMethod · 0.45
join_overlapping_squaresFunction · 0.45
join_no_overlapFunction · 0.45
join_with_dwithinFunction · 0.45
entry_atMethod · 0.45
filter_segments_by_lsnFunction · 0.45
is_tombstonedMethod · 0.45
purge_lsnMethod · 0.45
traverse_bfsMethod · 0.45
shortest_pathMethod · 0.45
subgraphMethod · 0.45

Calls

no outgoing calls

Tested by 15

join_overlapping_squaresFunction · 0.36
join_no_overlapFunction · 0.36
join_with_dwithinFunction · 0.36
out_degree_and_in_degreeFunction · 0.36
unique_contentsFunction · 0.36
col0Function · 0.36
query_col0Function · 0.36
query_col0Function · 0.36
parse_int_attrFunction · 0.36