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