Stable machine-readable key.
(self)
| 213 | |
| 214 | /// Stable machine-readable key. |
| 215 | pub(crate) fn code(self) -> &'static str { |
| 216 | match self { |
| 217 | Self::NotInstalled => "not_installed", |
| 218 | Self::AtomicOwned => "atomic_owned", |
| 219 | Self::UnmanagedSymlink => "unmanaged_symlink", |
| 220 | Self::UnmanagedNonFile => "unmanaged_non_file", |
| 221 | Self::Unmanaged => "unmanaged", |
| 222 | Self::UnmanagedUnreadable => "unmanaged_unreadable", |
| 223 | } |
| 224 | } |
| 225 | } |
| 226 | |
| 227 | /// Inspect the dispatchers of the Git repository colocated with `root`, or |
no outgoing calls