MCPcopy Create free account
hub / github.com/cosdata/cosdata / get_id

Method get_id

src/models/prob_node.rs:199–204  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

197 }
198
199 pub fn get_id(&self) -> InternalId {
200 match &self.prop_metadata {
201 Some(metadata) => metadata.replica_id,
202 None => self.prop_value.id,
203 }
204 }
205
206 pub fn freeze(&self) -> RwLockReadGuard<'_, (u8, MetricResult)> {
207 self.lowest_index.read()

Callers 8

ann_searchFunction · 0.80
index_embeddingFunction · 0.80
create_node_edgesFunction · 0.80
traverse_find_nearestFunction · 0.80
delete_embeddingFunction · 0.80
add_neighborMethod · 0.80
replica_node_kindMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected