| 10 | use super::LockService; |
| 11 | |
| 12 | pub 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 | |
| 22 | fn get_all_versions(path: &Path) -> io::Result<Vec<i32>> { |
| 23 | let mut versions = Vec::new(); |
nothing calls this directly
no outgoing calls
no test coverage detected