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

Method new

src/structures/filters.rs:28–33  ·  view source on GitHub ↗
(indices: Vec<usize>, current_ids: Vec<u128>)

Source from the content-addressed store, hash-verified

26
27impl Filters {
28 pub fn new(indices: Vec<usize>, current_ids: Vec<u128>) -> Self {
29 Filters {
30 current_indices: indices,
31 current_ids: current_ids,
32 }
33 }
34
35 pub fn get_indices(&self) -> (Vec<usize>, Vec<u128>) {
36 (self.current_indices.clone(), self.current_ids.clone())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected