optimization: file hash of a directory is meaningless; only use the name

(plus file hashes of contents)
This commit is contained in:
Glenn Maynard
2003-12-30 02:16:00 +00:00
parent adf5cc35fb
commit 2f3c66a9f2
+1 -1
View File
@@ -506,7 +506,7 @@ unsigned int GetHashForDirectory( const CString &sDir )
{
unsigned int hash = 0;
hash += GetHashForFile( sDir );
hash += GetHashForString( sDir );
CStringArray arrayFiles;
GetDirListing( sDir+"*", arrayFiles, false );