[KPhotoAlbum] Recalc checksum upon image modification?
Jan Kundrát
jkt at gentoo.org
Mon Apr 7 02:22:42 BST 2008
Tim McCormack wrote:
> Oh, I'm not saying to recalculate the MD5 sums of everything on startup
> -- my proposal is to look for modified files on the basis of stat(), and
> then recompute the MD5.
We don't store file's last modification in the DB.
> KPA already calls stat() for all files, correct? Or does it just check
> directory listings for new files?
It used to stat() each file (via QDir), but as it was slow in some
setups, it just uses readdir() now.
Cheers,
-jkt
--
cd /local/pub && more beer > /dev/mouth
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kphotoalbum/attachments/20080407/c192065e/attachment.sig>
More information about the Kphotoalbum
mailing list