(
repo: &atomic_repository::Repository,
)
| 876 | } |
| 877 | |
| 878 | fn gate_config( |
| 879 | repo: &atomic_repository::Repository, |
| 880 | ) -> atomic_repository::repository::provenance_gate::PublicationGateConfig { |
| 881 | atomic_repository::repository::provenance_gate::PublicationGateConfig::from_repo(repo) |
| 882 | .unwrap_or( |
| 883 | atomic_repository::repository::provenance_gate::PublicationGateConfig { |
| 884 | trust: Default::default(), |
| 885 | repository_identity: None, |
| 886 | }, |
| 887 | ) |
| 888 | } |
| 889 | |
| 890 | pub(crate) fn record_pre_commit(root: &Path) -> CliResult<()> { |
| 891 | let root = canonical_root(root)?; |
no outgoing calls
no test coverage detected