mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 14:21:53 +00:00
Set Durability to 'HIGH' for most inputs and third-party libraries (#12566)
This commit is contained in:
parent
fb9f566f56
commit
a2286c8e47
16 changed files with 212 additions and 126 deletions
|
@ -207,7 +207,9 @@ impl MemoryFileSystem {
|
|||
|
||||
let normalized = self.normalize_path(path.as_ref());
|
||||
|
||||
get_or_create_file(&mut by_path, &normalized)?.content = content.to_string();
|
||||
let file = get_or_create_file(&mut by_path, &normalized)?;
|
||||
file.content = content.to_string();
|
||||
file.last_modified = FileTime::now();
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue