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

Method is_auth_ref

nodedb/src/control/security/predicate.rs:164–166  ·  view source on GitHub ↗

Check if this is an `$auth.*` reference or function.

(&self)

Source from the content-addressed store, hash-verified

162impl PredicateValue {
163 /// Check if this is an `$auth.*` reference or function.
164 pub fn is_auth_ref(&self) -> bool {
165 matches!(self, Self::AuthRef(_) | Self::AuthFunc { .. })
166 }
167
168 /// Resolve this value using the given `AuthContext`.
169 ///

Callers 1

lint_predicateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected