Added cache debug statements

This commit is contained in:
Nicola Guerrera
2023-05-14 23:00:24 +02:00
parent 3c8deadfed
commit 8bfd113752

View File

@@ -252,6 +252,7 @@ impl DesktopFile {
return Some(icon);
}
}
print!("Cache miss")
}
// TODO: handle preferred_theme
@@ -311,7 +312,7 @@ impl Icon {
.unwrap()
.to_owned(),
) {
dbg!("Saving value in the DB");
print!("Saving in the cache");
IMAGE_CACHE.lock().unwrap().insert(
self.path
.with_extension("")