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

[email protected] Wed, 03 Sep 2003 19:48:25 +0900
Newsgroups gmane.comp.search.namazu.user
Message-ID <[email protected]>
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: [email protected]
	[email protected] / [email protected]