-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] callback func onDirExist does not effect #131
Labels
Comments
that's expected behavior, though I'm happy to discuss. Since you're trying to copy "dir1" to "dir2/dir1" intentionally, you can check if the destination root already exists or not by yourself. That's why it works even you return "Untouchable". On this case, "Untouchable" means it doesn't do anything when some child directories exist under the root destination. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[occurrence]
when testing the conflict with the same directory, the onDirExists callback function doest not effect, code as following:
working directory tree is as following:
[personal opinio]
I 'm confused about the conditions under which the onDirExist callback function is executed.
we know that variable destdir is always equal to opt.intent.dest, if we use default options as following:
so, how is it possible that the switch-case code of onDirExists callback func executes.
The text was updated successfully, but these errors were encountered: