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

Function include_validation

nodedb/src/control/security/scope/store.rs:335–339  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

333
334 #[test]
335 fn include_validation() {
336 let store = ScopeStore::new();
337 let result = store.define("bad", vec![], vec!["nonexistent".into()], "admin");
338 assert!(result.is_err());
339 }
340}

Callers

nothing calls this directly

Calls 1

defineMethod · 0.45

Tested by

no test coverage detected