(error: &std::io::Error)
| 4893 | } |
| 4894 | |
| 4895 | fn is_absent_path_error(error: &std::io::Error) -> bool { |
| 4896 | matches!( |
| 4897 | error.kind(), |
| 4898 | std::io::ErrorKind::NotFound | std::io::ErrorKind::NotADirectory |
| 4899 | ) |
| 4900 | } |
| 4901 | |
| 4902 | fn observe_path(path: &Path, recursive_directory: bool) -> Result<EffectValue, RepositoryError> { |
| 4903 | let metadata = match fs::symlink_metadata(path) { |
no outgoing calls
no test coverage detected