MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / delete

Method delete

crates/openshell-server/src/persistence/mod.rs:296–298  ·  view source on GitHub ↗

Delete an object by id.

(&self, object_type: &str, id: &str)

Source from the content-addressed store, hash-verified

294
295 /// Delete an object by id.
296 pub async fn delete(&self, object_type: &str, id: &str) -> PersistenceResult<bool> {
297 store_dispatch!(self.delete(object_type, id))
298 }
299
300 /// Delete an object by name within an object type.
301 pub async fn delete_by_name(&self, object_type: &str, name: &str) -> PersistenceResult<bool> {

Callers 7

reap_expired_sessionsFunction · 0.45
sqlite_delete_behaviorFunction · 0.45
create_sandboxMethod · 0.45
delete_sandboxMethod · 0.45
apply_deleted_lockedMethod · 0.45
delete_sandboxMethod · 0.45

Calls

no outgoing calls

Tested by 1

sqlite_delete_behaviorFunction · 0.36