(kind: DigestKind)
| 741 | } |
| 742 | |
| 743 | fn digest_kind(kind: DigestKind) -> &'static str { |
| 744 | match kind { |
| 745 | DigestKind::Bytes => "bytes", |
| 746 | DigestKind::Manifest => "manifest", |
| 747 | DigestKind::Checkpoint => "checkpoint", |
| 748 | DigestKind::Shelf => "shelf", |
| 749 | DigestKind::Refs => "refs", |
| 750 | } |
| 751 | } |
| 752 | |
| 753 | fn file_kind(kind: FileKind) -> &'static str { |
| 754 | match kind { |