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

Method key

src/models/types.rs:280–284  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

278
279impl TreeMapKey for VectorId {
280 fn key(&self) -> u64 {
281 let mut hasher = SipHasher24::new();
282 self.0.hash(&mut hasher);
283 hasher.finish()
284 }
285}
286
287#[derive(Serialize, Deserialize, Debug, Clone, Hash, PartialEq, Eq)]

Callers 6

upload_fileMethod · 0.45
download_fileMethod · 0.45
delete_objectMethod · 0.45

Calls 1

hashMethod · 0.80

Tested by

no test coverage detected