mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-30 06:40:50 +00:00
manager: ignore .git dir in corpus
For the case the corpus is checked into git.
This commit is contained in:
parent
7690667267
commit
776431e726
@ -37,6 +37,9 @@ func newPersistentSet(dir string, verify func(data []byte) bool) *PersistentSet
|
||||
log.Fatalf("error during dir walk: %v\n", err)
|
||||
}
|
||||
if info.IsDir() {
|
||||
if info.Name() == ".git" {
|
||||
return filepath.SkipDir // in case corpus is checked in
|
||||
}
|
||||
return nil
|
||||
}
|
||||
data, err := ioutil.ReadFile(path)
|
||||
|
Loading…
Reference in New Issue
Block a user