[red-knot] Add support for editable installs to the module resolver (#12307)

Co-authored-by: Micha Reiser <micha@reiser.io>
Co-authored-by: Carl Meyer <carl@astral.sh>
This commit is contained in:
Alex Waygood 2024-07-16 19:17:47 +01:00 committed by GitHub
parent 595b1aa4a1
commit 9a2dafb43d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 686 additions and 40 deletions

View file

@ -150,6 +150,10 @@ impl DirectoryEntry {
Self { path, file_type }
}
pub fn into_path(self) -> SystemPathBuf {
self.path
}
pub fn path(&self) -> &SystemPath {
&self.path
}