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

Function function_key

nodedb/src/control/security/catalog/functions.rs:130–132  ·  view source on GitHub ↗

Build the redb key for a function: `"{tenant_id}:{name}"`.

(tenant_id: u64, name: &str)

Source from the content-addressed store, hash-verified

128
129/// Build the redb key for a function: `"{tenant_id}:{name}"`.
130fn function_key(tenant_id: u64, name: &str) -> String {
131 format!("{tenant_id}:{name}")
132}
133
134#[cfg(test)]
135mod tests {

Callers 3

put_functionMethod · 0.85
get_functionMethod · 0.85
delete_functionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected