using source "remote" for server now has covers

This commit is contained in:
Mark
2024-05-28 15:49:37 +02:00
parent a714bfd404
commit 643e337e61
2 changed files with 30 additions and 16 deletions

View File

@@ -1046,7 +1046,7 @@ pub struct Cover {
pub data: Arc<Mutex<(bool, Option<(Instant, Vec<u8>)>)>>,
}
impl Cover {
pub fn get_bytes<O>(
pub fn get_bytes_from_file<O>(
&self,
path: impl FnOnce(&DatabaseLocation) -> PathBuf,
conv: impl FnOnce(&Vec<u8>) -> O,