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

Function git_hash_algorithm

atomic-cli/src/commands/op/model.rs:719–724  ·  view source on GitHub ↗
(algorithm: GitHashAlgorithm)

Source from the content-addressed store, hash-verified

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

Callers 1

fromMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected