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

Function canonical_kind

atomic-repository/src/change_source/scan.rs:674–681  ·  view source on GitHub ↗
(kind: ObservedKind)

Source from the content-addressed store, hash-verified

672}
673
674fn canonical_kind(kind: ObservedKind) -> Option<InodeKind> {
675 match kind {
676 ObservedKind::Regular => Some(InodeKind::Regular),
677 ObservedKind::Symlink => Some(InodeKind::Symlink),
678 ObservedKind::Directory => Some(InodeKind::Gitlink),
679 ObservedKind::Other => None,
680 }
681}
682
683fn omission_lease_matches(
684 provider: &dyn FilesystemProvider,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected