cleanup
This commit is contained in:
1 parent
4c0efdcb41
commit
c071e37316
4 files changed
+9
-10
No files matched your search
@@ -112,7 +112,7 @@ func copyAll(srcs []string, dstDir string) (nums chan int64, errs chan error) {
|
||||
errs <- fmt.Errorf("mkdir: %s", err)
|
||||
}
|
||||
nums <- info.Size()
|
||||
} else if info.Mode() & os.ModeSymlink != 0 { /* Symlink */
|
||||
} else if info.Mode()&os.ModeSymlink != 0 { /* Symlink */
|
||||
if rlink, err := os.Readlink(path); err != nil {
|
||||
errs <- fmt.Errorf("symlink: %s", err)
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user