mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 12:55:05 +00:00
Update salsa (#12711)
This commit is contained in:
parent
8e6aa78796
commit
846f57fd15
19 changed files with 92 additions and 131 deletions
|
@ -252,6 +252,13 @@ impl Files {
|
|||
.to(FileRevision::now());
|
||||
}
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub fn snapshot(&self) -> Self {
|
||||
Self {
|
||||
inner: Arc::clone(&self.inner),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl std::fmt::Debug for Files {
|
||||
|
@ -265,6 +272,8 @@ impl std::fmt::Debug for Files {
|
|||
}
|
||||
}
|
||||
|
||||
impl std::panic::RefUnwindSafe for Files {}
|
||||
|
||||
/// A file that's either stored on the host system's file system or in the vendored file system.
|
||||
#[salsa::input]
|
||||
pub struct File {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue