To: | namazu-users-en@namazu.org |
---|---|
Subject: | Re: How does mknmz determine if a file is updated? |
From: | Earl Hood <earl@earlhood.com> |
Date: | Mon, 01 Sep 2003 14:00:34 -0500 |
Reply-to: | Earl Hood <earl@earlhood.com> |
Message-id: | <200309011900.h81J0Yi07604@gator.earlhood.com> |
On September 1, 2003 at 21:29, knok@daionet.gr.jp wrote:
How does mknmz determine if a file is updated? Looking at the source, it appears it is based solely on mtime. Is this true?Yes, you are right.
Do you think adding a check for file size changes? Maybe add the ability to check the MD5 sum (or SHA sum) of files. This would be extra overhead, so it should probably be an optional option. I think checking file size changes may be sufficient for most cases and is negligable overhead since the same stat call can be used to check mtime and the file size. --ewh
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | Re: How does mknmz determine if a file is updated?, knok |
---|---|
Next by Date: | Re: How does mknmz determine if a file is updated?, knok |
Previous by Thread: | Re: How does mknmz determine if a file is updated?, knok |
Next by Thread: | Re: How does mknmz determine if a file is updated?, knok |
Indexes: | [Date] [Thread] [Top] [All Lists] |