feat: add SHA256 checksums to file properties

This commit is contained in:
Fred 2026-06-26 16:57:13 +02:00 • committed by GitHub
parent cd427c746c
commit 4d6788c9fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 170 additions and 27 deletions

View file

@ -14,7 +14,7 @@ use tokio::sync::mpsc;
use super::{Mounter, MounterAuth, MounterItem, MounterItems, MounterMessage};
use crate::config::IconSizes;
use crate::err_str;
use crate::tab::{self, DirSize, ItemMetadata, ItemThumbnail, Location};
use crate::tab::{self, ChecksumState, DirSize, ItemMetadata, ItemThumbnail, Location};
const TARGET_URI_ATTRIBUTE: &str = "standard::target-uri";
@ -216,6 +216,7 @@ fn network_scan(uri: &str, sizes: IconSizes) -> Result<Vec<tab::Item>, String> {
//TODO: scan directory size on gvfs mounts?
dir_size: DirSize::NotDirectory,
cut: false,
checksums: ChecksumState::default(),
});
}
Ok(items)