(kind: ObservedKind)
| 672 | } |
| 673 | |
| 674 | fn 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 | |
| 683 | fn omission_lease_matches( |
| 684 | provider: &dyn FilesystemProvider, |
no outgoing calls
no test coverage detected