(scope: VerificationScope)
| 732 | } |
| 733 | |
| 734 | fn verification_scope(scope: VerificationScope) -> &'static str { |
| 735 | match scope { |
| 736 | VerificationScope::Filesystem => "filesystem", |
| 737 | VerificationScope::Git => "git", |
| 738 | VerificationScope::Repository => "repository", |
| 739 | VerificationScope::Complete => "complete", |
| 740 | } |
| 741 | } |
| 742 | |
| 743 | fn digest_kind(kind: DigestKind) -> &'static str { |
| 744 | match kind { |