(algorithm: GitHashAlgorithm)
| 717 | } |
| 718 | |
| 719 | fn git_hash_algorithm(algorithm: GitHashAlgorithm) -> &'static str { |
| 720 | match algorithm { |
| 721 | GitHashAlgorithm::Sha1 => "sha1", |
| 722 | GitHashAlgorithm::Sha256 => "sha256", |
| 723 | } |
| 724 | } |
| 725 | |
| 726 | fn checkpoint_kind(kind: CheckpointKind) -> &'static str { |
| 727 | match kind { |