Create a new file change for a deleted file. # Arguments `path` - Path to the file `inode` - File's inode `position` - Position in the graph
(path: impl Into<String>, inode: Inode, position: Position<NodeId>)
| 480 | /// * `inode` - File's inode |
| 481 | /// * `position` - Position in the graph |
| 482 | pub fn deleted(path: impl Into<String>, inode: Inode, position: Position<NodeId>) -> Self { |
| 483 | Self { |
| 484 | path: path.into(), |
| 485 | inode: Some(inode), |
| 486 | position: Some(position), |
| 487 | kind: FileChangeKind::Deleted, |
| 488 | metadata: None, |
| 489 | size: None, |
| 490 | mtime: None, |
| 491 | } |
| 492 | } |
| 493 | |
| 494 | /// Create a new file change for a moved file. |
| 495 | /// |
nothing calls this directly
no test coverage detected