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

Method vec_remove

src/darkbird/database.rs:56–63  ·  view source on GitHub ↗
(&self, vector_id: VectorId)

Source from the content-addressed store, hash-verified

54
55 #[inline]
56 pub async fn vec_remove(&self, vector_id: VectorId) -> Result<(), SessionResult> {
57 match self.datastores.get::<VecStorage>() {
58 None => Err(SessionResult::DataStoreNotFound),
59 Some(datastore) => {
60 datastore.remove(vector_id).await
61 }
62 }
63 }
64
65
66 #[inline]

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected