MCPcopy Create free account
hub / github.com/carsonpo/haystackdb / NamespaceState

Class NamespaceState

src/services/namespace_state.rs:12–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10use super::LockService;
11
12pub struct NamespaceState {
13 pub namespace_id: String,
14 pub metadata_index: MetadataIndex,
15 pub inverted_index: InvertedIndex,
16 pub vectors: DenseVectorList,
17 pub wal: WAL,
18 pub locks: LockService,
19 pub path: PathBuf,
20}
21
22fn get_all_versions(path: &Path) -> io::Result<Vec<i32>> {
23 let mut versions = Vec::new();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected