Skip to content
1 viewer

rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off

crates/cre8-app-network/src/policy.rs

cre8-app-network · module policy · src · 484 lines (316 code, 124 comment) · sha 018168251b787cde

Items

enum FounderPolicy impl FounderPolicy enum TrustOutcome const DEFAULT_TRUST_DEPTH

Functions

By call-graph weight (PageRank; 1.0 is the average function). 27 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
decidesrc/policy.rs:372fn287913
parse_allowlist_strsrc/policy.rs:308fn31301.8
fixed_artifactsrc/policy.rs:312fn151631.8
parse_policy_strsrc/policy.rs:300fn73100.9
enforce_founder_trust_with_contextsrc/policy.rs:223fn242280.7
FounderPolicy::from_envsrc/policy.rs:65method133210.6
trusted_founders_from_envsrc/policy.rs:87fn61210.6
unsigned_founder_trust_outcomesrc/policy.rs:146fn103200.6
founder_verify_errorsrc/policy.rs:157fn144200.6
trust_depth_from_envsrc/policy.rs:201fn71110.6
transitive_founder_trust_setsrc/policy.rs:248fn131110.6
transitive_founder_trust_outcomesrc/policy.rs:262fn224100.6
founder_trust_outcomesrc/policy.rs:172fn195100.6
enforce_founder_trustsrc/policy.rs:126fn192060.5
policy_recognizes_required_optional_and_defaults_to_disabledsrc/policy.rs:331fn91010.5
allowlist_splits_on_comma_and_trimssrc/policy.rs:344fn71010.5
allowlist_drops_empty_entriessrc/policy.rs:353fn41010.5
allowlist_handles_empty_stringsrc/policy.rs:359fn41010.5
disabled_policy_skips_all_checks_for_unsignedsrc/policy.rs:402fn41010.5
disabled_policy_skips_all_checks_for_signed_artifactsrc/policy.rs:408fn51020.5
optional_policy_allows_unsignedsrc/policy.rs:415fn41010.5
optional_policy_marks_signed_artifact_with_unknown_founder_as_untrustedsrc/policy.rs:421fn102020.5
optional_policy_marks_signed_artifact_with_known_founder_as_trustedsrc/policy.rs:433fn122020.5
required_policy_rejects_unsignedsrc/policy.rs:447fn41010.5
required_policy_rejects_unknown_foundersrc/policy.rs:453fn51020.5
required_policy_accepts_known_foundersrc/policy.rs:460fn122020.5
required_policy_rejects_tampered_artifact_before_allowlist_checksrc/policy.rs:474fn101020.5

Source not readable from this process.