MCPcopy Create free account
hub / github.com/InfinitiBit/graphbit / delete_all

Method delete_all

javascript/src/lib.rs:309–315  ·  view source on GitHub ↗
(&self, scope: Option<JsScope>)

Source from the content-addressed store, hash-verified

307 /// Delete all memories matching a scope.
308 #[napi]
309 pub async fn delete_all(&self, scope: Option<JsScope>) -> Result<()> {
310 let core_scope = js_scope_to_core(scope);
311 self.service
312 .delete_all(&core_scope)
313 .await
314 .map_err(to_napi_error)
315 }
316
317 /// Get mutation history for a memory.
318 #[napi]

Callers

nothing calls this directly

Calls 1

js_scope_to_coreFunction · 0.85

Tested by

no test coverage detected