Create a new file writer.
(file: File, path: PathBuf, inode: Inode)
| 134 | impl FileWriter { |
| 135 | /// Create a new file writer. |
| 136 | fn new(file: File, path: PathBuf, inode: Inode) -> Self { |
| 137 | Self { |
| 138 | writer: BufWriter::new(file), |
| 139 | inode, |
| 140 | path, |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | /// Get the inode associated with this file. |
| 145 | pub fn inode(&self) -> Inode { |
nothing calls this directly
no outgoing calls
no test coverage detected