feat: add SHA256 checksums to file properties
This commit is contained in:
parent
cd427c746c
commit
4d6788c9fd
5 changed files with 170 additions and 27 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue