The entry's filesystem path (for [`IdKind::Virtual`] entries, the verbatim `id`).
(&self)
| 23 | impl InternedModule { |
| 24 | /// The entry's filesystem path (for [`IdKind::Virtual`] entries, the verbatim `id`). |
| 25 | fn path(&self) -> PathBuf { |
| 26 | match &self.path_override { |
| 27 | Some(path) => path.clone(), |
| 28 | None => PathBuf::from(self.id.as_str()), |
| 29 | } |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | /// Thread-safe canonical module ID and path interner. |