ruff/crates/ruff_db/src/system
Micha Reiser dcb99cc817
Fix stale File status in tests (#15030)
## Summary

Fixes https://github.com/astral-sh/ruff/issues/15027

The `MemoryFileSystem::write_file` API automatically creates
non-existing ancestor directoryes
but we failed to update the status of the now created ancestor
directories in the `Files` data structure.


## Test Plan

Tested that the case in https://github.com/astral-sh/ruff/issues/15027
now passes regardless of whether the *Simple* case is commented out or
not
2024-12-17 12:45:36 +01:00
..
memory_fs.rs Workspace discovery (#14308) 2024-11-15 19:20:15 +01:00
os.rs Workspace discovery (#14308) 2024-11-15 19:20:15 +01:00
path.rs Workspace discovery (#14308) 2024-11-15 19:20:15 +01:00
test.rs Fix stale File status in tests (#15030) 2024-12-17 12:45:36 +01:00
walk_directory.rs [red-knot] Add walk_directories to System (#12297) 2024-07-16 06:40:10 +00:00