We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4537d9b commit 50bb9b7Copy full SHA for 50bb9b7
fs/operations/operations.go
@@ -721,6 +721,9 @@ func (c *checkMarch) DstOnly(dst fs.DirEntry) (recurse bool) {
721
atomic.AddInt32(&c.srcFilesMissing, 1)
722
case fs.Directory:
723
// Do the same thing to the entire contents of the directory
724
+ if c.oneway {
725
+ return false
726
+ }
727
return true
728
default:
729
panic("Bad object in DirEntries")
0 commit comments