Convert to a simple `Local` (dropping byte and inode info).
(&self)
| 214 | |
| 215 | /// Convert to a simple `Local` (dropping byte and inode info). |
| 216 | pub fn to_local(&self) -> Local { |
| 217 | Local { |
| 218 | path: self.path.clone(), |
| 219 | line: self.line, |
| 220 | } |
| 221 | } |
| 222 | |
| 223 | /// Get the path as a PathBuf. |
| 224 | pub fn path_buf(&self) -> PathBuf { |