db: improve content hashing; cache only positive scan result

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: If8035bf1dcd598a992762b9c714253406a6a6964
This commit is contained in:
raf 2026-03-05 14:27:10 +03:00
commit 373affabee
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
4 changed files with 115 additions and 19 deletions

View file

@ -38,6 +38,7 @@ impl StoreCommand for SqliteClipboardDb {
Some(excluded_apps),
min_size,
max_size,
None, // no pre-computed hash for CLI store
)?;
log::info!("Entry stored");
}