Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/InfinitiBit/graphbit
/ clear
Method
clear
core/src/memory/vector.rs:93–96 ·
view source on GitHub ↗
Remove all entries from the index.
(&self)
Source
from the content-addressed store, hash-verified
91
92
/// Remove all entries from the index.
93
pub async fn clear(&self) {
94
let mut entries = self.entries.write().await;
95
entries.clear();
96
}
97
}
98
99
#[cfg(test)]
Callers
13
parse_xml_to_structured_text
Method · 0.45
test_vector_index_clear
Function · 0.45
invalidate_caches
Method · 0.45
refresh_adjacency_from_edges
Method · 0.45
rebuild_name_map_from_nodes
Method · 0.45
rebuild_petgraph_and_id_maps
Method · 0.45
reset_pipeline
Method · 0.45
test_initialization_with_environment_conflicts
Method · 0.45
test_environment_variable_injection
Method · 0.45
test_config_with_environment_variables
Method · 0.45
test_environment_variable_edge_cases
Method · 0.45
teardown
Method · 0.45
Calls
no outgoing calls
Tested by
5
test_vector_index_clear
Function · 0.36
test_initialization_with_environment_conflicts
Method · 0.36
test_environment_variable_injection
Method · 0.36
test_config_with_environment_variables
Method · 0.36
test_environment_variable_edge_cases
Method · 0.36