MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / policy

Function policy

atomic-repository/src/git_binding/trust.rs:139–144  ·  view source on GitHub ↗
(signers: &[&str], revoked: &[&str])

Source from the content-addressed store, hash-verified

137 use super::*;
138
139 fn policy(signers: &[&str], revoked: &[&str]) -> GitTrustConfig {
140 GitTrustConfig {
141 signers: signers.iter().map(|did| did.to_string()).collect(),
142 revoked: revoked.iter().map(|did| did.to_string()).collect(),
143 }
144 }
145
146 #[test]
147 fn unknown_signer_yields_untrusted_provenance_despite_valid_content() {

Callers 1

policy_evaluation_matrixFunction · 0.85

Calls 2

collectMethod · 0.45
iterMethod · 0.45

Tested by 1

policy_evaluation_matrixFunction · 0.68