Create a new tracked file entry. # Arguments `path` - Path relative to repository root `inode` - Stable file identifier `position` - Graph position # Returns A new `TrackedFile` (defaults to not a directory).
(path: impl Into<String>, inode: Inode, position: Position<NodeId>)
| 122 | /// |
| 123 | /// A new `TrackedFile` (defaults to not a directory). |
| 124 | pub fn new(path: impl Into<String>, inode: Inode, position: Position<NodeId>) -> Self { |
| 125 | Self { |
| 126 | path: path.into(), |
| 127 | inode, |
| 128 | position, |
| 129 | is_directory: false, |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | /// Mark this entry as a directory. |
| 134 | pub fn as_directory(mut self) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected