Create an input for an added directory.
(path: String)
| 123 | |
| 124 | /// Create an input for an added directory. |
| 125 | pub fn directory_added(path: String) -> Self { |
| 126 | Self { |
| 127 | path, |
| 128 | full_path: PathBuf::new(), |
| 129 | kind: FileRecordKind::DirectoryAdded, |
| 130 | old_content: Vec::new(), |
| 131 | inode: None, |
| 132 | position: None, |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | /// Create an input for a deleted directory. |
| 137 | pub fn directory_deleted(path: String, inode: Inode, position: Position<NodeId>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected