mirror of
https://github.com/octoleo/syncthing.git
synced 2025-02-02 11:58:28 +00:00
Do not descend into ignored directories (fixes #86)
This commit is contained in:
parent
9ec7de643e
commit
b5f652a815
@ -164,6 +164,9 @@ func (w *Walker) walkAndHashFiles(res *[]File, ign map[string][]string) filepath
|
|||||||
if debug {
|
if debug {
|
||||||
dlog.Println("ignored:", rn)
|
dlog.Println("ignored:", rn)
|
||||||
}
|
}
|
||||||
|
if info.IsDir() {
|
||||||
|
return filepath.SkipDir
|
||||||
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user