feat: clean up log and watch lints (#1659)

This commit is contained in:
Myriad-Dreamin 2025-04-16 15:02:49 +08:00 committed by GitHub
parent 92c5e40abd
commit 4d13734fed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 10 additions and 6 deletions

View file

@ -228,11 +228,11 @@ impl<M: PathAccessModel + Clone + Sized> Vfs<M> {
let mut m = self.managed.lock();
for id in file_ids {
let Some(entry) = m.entries.get_mut(id) else {
log::info!("Vfs(dirty, {id:?}): file id not found");
log::debug!("Vfs(dirty, {id:?}): file id not found");
return false;
};
if entry.changed_at > rev {
log::info!("Vfs(dirty, {id:?}): rev {rev:?} => {:?}", entry.changed_at);
log::debug!("Vfs(dirty, {id:?}): rev {rev:?} => {:?}", entry.changed_at);
return false;
}
log::debug!(