namazu-users-en
[Top] [All Lists]

Re: How does mknmz determine if a file is updated?

2003-09-03 03:49:20
At Mon, 01 Sep 2003 14:00:34 -0500,
Earl Hood 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.

That sounds a good idea. Index of namazu already has file size
information in NMZ.field.size file, so it could be easy.

I'll try to hack the feature.
-- 
NOKUBI Takatsugu
E-mail: knok(_at_)daionet(_dot_)gr(_dot_)jp
        knok(_at_)namazu(_dot_)org / knok(_at_)debian(_dot_)org