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 a54078f commit f4634a9Copy full SHA for f4634a9
os/src/FileOps.scala
@@ -202,7 +202,7 @@ object copy {
202
203
def copyOne(p: Path): Unit = {
204
val target = to / p.relativeTo(from)
205
- if (mergeFolders && isDir(p, followLinks) && !isLink(p) && !exists(target, followLinks)) {
+ if (mergeFolders && isDir(p, false) && !exists(target, false)) {
206
os.makeDir(target)
207
} else if (mergeFolders && isDir(p, followLinks) && isDir(target, followLinks)) {
208
// nothing to do
0 commit comments