[red-knot] Only store absolute paths in Files (#12215)

This commit is contained in:
Micha Reiser 2024-07-09 09:52:13 +02:00 committed by GitHub
parent 3d3ff10bb9
commit b5834d57af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 206 additions and 84 deletions

View file

@ -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;
}