Update fs_util.go
This commit is contained in:
parent
9f76932171
commit
86e361c20e
|
|
@ -951,7 +951,7 @@ func gowalkDir(dir string, existingPaths map[string]struct{}, changeFunc func(st
|
||||||
foundPaths := make([]string, 0)
|
foundPaths := make([]string, 0)
|
||||||
godirwalk.Walk(dir, &godirwalk.Options{
|
godirwalk.Walk(dir, &godirwalk.Options{
|
||||||
Callback: func(path string, ent *godirwalk.Dirent) error {
|
Callback: func(path string, ent *godirwalk.Dirent) error {
|
||||||
logrus.Tracef("Analyzing path %s", dir)
|
logrus.Tracef("Analyzing path %s", path)
|
||||||
if IsInIgnoreList(path) {
|
if IsInIgnoreList(path) {
|
||||||
if IsDestDir(path) {
|
if IsDestDir(path) {
|
||||||
logrus.Tracef("Skipping paths under %s, as it is a ignored directory", path)
|
logrus.Tracef("Skipping paths under %s, as it is a ignored directory", path)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue