mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 04:45:01 +00:00
[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:
parent
595b1aa4a1
commit
9a2dafb43d
4 changed files with 686 additions and 40 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue