Skip to content

Commit

Permalink
Merge pull request #685 from rhatdan/omit
Browse files Browse the repository at this point in the history
Remove dead code
  • Loading branch information
rhatdan committed Aug 13, 2020
2 parents 478d9b5 + 632ac1d commit 03a730b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/copy/copy_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,6 @@ func DirCopy(srcDir, dstDir string, copyMode Mode, copyXattrs bool) error {
}

dstPath := filepath.Join(dstDir, relPath)
if err != nil {
return err
}

stat, ok := f.Sys().(*syscall.Stat_t)
if !ok {
return fmt.Errorf("Unable to get raw syscall.Stat_t data for %s", srcPath)
Expand Down

0 comments on commit 03a730b

Please sign in to comment.