[KPhotoAlbum] Recalc checksum upon image modification?
jkt at gentoo.org
Mon Apr 7 03:22:42 CEST 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.
cd /local/pub && more beer > /dev/mouth
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 252 bytes
Desc: OpenPGP digital signature
Url : /mailman/pipermail/kphotoalbum/attachments/20080407/c192065e/attachment.pgp
More information about the KPhotoAlbum