mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 06:42:02 +00:00
[red-knot] Only store absolute paths in Files
(#12215)
This commit is contained in:
parent
3d3ff10bb9
commit
b5834d57af
9 changed files with 206 additions and 84 deletions
|
@ -51,6 +51,9 @@ pub trait System {
|
|||
.map_or(false, |metadata| metadata.file_type.is_file())
|
||||
}
|
||||
|
||||
/// Returns the current working directory
|
||||
fn current_directory(&self) -> &SystemPath;
|
||||
|
||||
fn as_any(&self) -> &dyn std::any::Any;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue