Do not descend into ignored directories (fixes #86)

This commit is contained in:
Jakob Borg 2014-03-09 12:21:07 +01:00
parent 9ec7de643e
commit b5f652a815

View File

@ -164,6 +164,9 @@ func (w *Walker) walkAndHashFiles(res *[]File, ign map[string][]string) filepath
if debug {
dlog.Println("ignored:", rn)
}
if info.IsDir() {
return filepath.SkipDir
}
return nil
}