Create a `FileNotFound` error for the given path.
(path: P)
| 478 | |
| 479 | /// Create a `FileNotFound` error for the given path. |
| 480 | pub fn file_not_found<P: Into<PathBuf>>(path: P) -> Self { |
| 481 | Self::FileNotFound { path: path.into() } |
| 482 | } |
| 483 | |
| 484 | /// Create a `ChangeNotFound` error for the given hash. |
| 485 | pub fn change_not_found(hash: impl Into<String>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected