Explorar el Código

ft:xxxx

master
SisMaker hace 3 años
padre
commit
7ac8cf4dd2
Se han modificado 1 ficheros con 2 adiciones y 4 borrados
  1. +2
    -4
      fileSync.go

+ 2
- 4
fileSync.go Ver fichero

@ -162,6 +162,7 @@ func (w *Watch) watchDir(dir string) {
}
return nil
})
for _, v := range AddDirs {
if v != "" && existPath(v) {
//通过Walk来遍历目录下的所有子目录
@ -186,10 +187,7 @@ func (w *Watch) watchDir(dir string) {
//for _, v := range AddDirs {
// if v != "" && existPath(v) {
// path, err := filepath.Abs(path)
// if err != nil && !isHidden(path) {
// w.watch.Add(path)
// }
// w.watch.Add(v)
// }
//}

Cargando…
Cancelar
Guardar