We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f2a389a + 38f9467 commit 403b5beCopy full SHA for 403b5be
1 file changed
fs/copy.go
@@ -80,7 +80,7 @@ func copyDirectory(dst, src string, inodes map[uint64]string, o *copyDirOpts) er
80
return errors.Wrapf(err, "failed to stat %s", src)
81
}
82
if !stat.IsDir() {
83
- return errors.Errorf("source is not directory")
+ return errors.Errorf("source %s is not directory", src)
84
85
86
if st, err := os.Stat(dst); err != nil {
0 commit comments