Create a new path-not-in-repo error. # Arguments `path` - The path that is outside the repository # Example ```rust use atomic_core::record::RecordError; let err = RecordError::path_not_in_repo("/outside/path"); assert!(matches!(err, RecordError::PathNotInRepo { .. })); ```
(path: impl Into<String>)
| 297 | /// assert!(matches!(err, RecordError::PathNotInRepo { .. })); |
| 298 | /// ``` |
| 299 | pub fn path_not_in_repo(path: impl Into<String>) -> Self { |
| 300 | Self::PathNotInRepo { path: path.into() } |
| 301 | } |
| 302 | |
| 303 | /// Create a new path-not-found error. |
| 304 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected