MCPcopy Create free account
hub / github.com/Rustixir/darkbird / vec_gets

Method vec_gets

src/darkbird/database.rs:67–75  ·  view source on GitHub ↗
(&self, list: Vec<VectorId>)

Source from the content-addressed store, hash-verified

65
66 #[inline]
67 pub fn vec_gets(&self, list: Vec<VectorId>) -> Result<Vec<(String, Vector)>, SessionResult> {
68 match self.datastores.get::<VecStorage>() {
69 None => Err(SessionResult::DataStoreNotFound),
70 Some(datastore) => {
71 let res = datastore.gets(list);
72 Ok(res)
73 }
74 }
75 }
76
77
78 #[inline]

Callers

nothing calls this directly

Calls 1

getsMethod · 0.45

Tested by

no test coverage detected