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

Method new

src/services/query.rs:17–20  ·  view source on GitHub ↗
(path: PathBuf, namespace_id: String)

Source from the content-addressed store, hash-verified

15
16impl QueryService {
17 pub fn new(path: PathBuf, namespace_id: String) -> io::Result<Self> {
18 let state = NamespaceState::new(path, namespace_id)?;
19 Ok(QueryService { state })
20 }
21
22 pub fn query(
23 &mut self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected