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

Method delete

src/models/common.rs:526–530  ·  view source on GitHub ↗
(&self, k: &K)

Source from the content-addressed store, hash-verified

524 }
525
526 pub fn delete(&self, k: &K) {
527 let index = self.hash_key(k);
528 let mut ht = self.hash_table_list[index].lock().unwrap();
529 ht.remove(k);
530 }
531
532 pub fn lookup(&self, k: &K) -> Option<V>
533 where

Callers 15

get_lazy_objectMethod · 0.45
get_dataMethod · 0.45
delete_collectionFunction · 0.45
test_performanceFunction · 0.45
test-dataset.pyFile · 0.45
test_basic_functionalityFunction · 0.45
mainFunction · 0.45

Calls 2

hash_keyMethod · 0.80
removeMethod · 0.80

Tested by 13

delete_collectionFunction · 0.36
test_performanceFunction · 0.36
test_basic_functionalityFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
delete_collectionFunction · 0.36
mainFunction · 0.36
main_non_itFunction · 0.36
ensure_collectionFunction · 0.36