Remove the ability to configure the user config path

This commit is contained in:
Lukas Wirth 2024-08-19 14:50:42 +02:00
parent 3c4cdbbd1a
commit fd3fce2600
9 changed files with 81 additions and 66 deletions

View file

@ -313,6 +313,20 @@ impl fmt::Debug for VfsPathRepr {
}
}
impl PartialEq<AbsPath> for VfsPath {
fn eq(&self, other: &AbsPath) -> bool {
match &self.0 {
VfsPathRepr::PathBuf(lhs) => lhs == other,
VfsPathRepr::VirtualPath(_) => false,
}
}
}
impl PartialEq<VfsPath> for AbsPath {
fn eq(&self, other: &VfsPath) -> bool {
other == self
}
}
/// `/`-separated virtual path.
///
/// This is used to describe files that do not reside on the file system.