Create an empty result (for testing or dry-run). # Arguments `path` - File path `inode` - File inode # Example ```rust use atomic_core::output::repo::FileOutputResult; use atomic_core::types::Inode; let result = FileOutputResult::empty("src/lib.rs", Inode::ROOT); assert_eq!(result.path, "src/lib.rs"); assert_eq!(result.bytes_written, 0); ```
(path: impl Into<String>, inode: Inode)
| 373 | /// assert_eq!(result.bytes_written, 0); |
| 374 | /// ``` |
| 375 | pub fn empty(path: impl Into<String>, inode: Inode) -> Self { |
| 376 | Self::new(path, inode) |
| 377 | } |
| 378 | |
| 379 | /// Add a conflict to the result. |
| 380 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected