MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / delete

Function delete

nodedb/src/control/catalog_entry/apply/function.rs:29–39  ·  view source on GitHub ↗
(tenant_id: u64, name: &str, catalog: &SystemCatalog)

Source from the content-addressed store, hash-verified

27}
28
29pub fn delete(tenant_id: u64, name: &str, catalog: &SystemCatalog) {
30 if let Err(e) = catalog.delete_function(tenant_id, name) {
31 warn!(
32 function = %name,
33 tenant = tenant_id,
34 error = %e,
35 "catalog_entry: delete_function failed"
36 );
37 }
38 super::owner::delete_parent_owner(object_type::FUNCTION, tenant_id, name, catalog);
39}

Callers

nothing calls this directly

Calls 2

delete_parent_ownerFunction · 0.85
delete_functionMethod · 0.80

Tested by

no test coverage detected