Create a new output item for a regular file.
(parent: Inode, path: String, pos: Position<NodeId>)
| 362 | impl OutputItem { |
| 363 | /// Create a new output item for a regular file. |
| 364 | pub fn file(parent: Inode, path: String, pos: Position<NodeId>) -> Self { |
| 365 | Self { |
| 366 | parent, |
| 367 | path, |
| 368 | metadata: FileMetadata::file(), |
| 369 | pos, |
| 370 | is_zombie: None, |
| 371 | } |
| 372 | } |
| 373 | |
| 374 | /// Create a new output item for a directory. |
| 375 | pub fn directory(parent: Inode, path: String, pos: Position<NodeId>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected