optimization: file hash of a directory is meaningless; only use the name
(plus file hashes of contents)
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user