You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we know that variable destdir is always equal to opt.intent.dest, if we use default options as following:
// part of default optionsfuncgetDefaultOptions(src, deststring) Options {
returnOptions{
// ignore the extra code .....intent: intent{src, dest, nil, nil},
}
}
// part of merge options funcassureOptions(src, deststring, opts...Options) Options {
defopt:=getDefaultOptions(src, dest)
// ignore the extra code .....opts[0].intent.src=defopt.intent.srcopts[0].intent.dest=defopt.intent.destreturnopts[0]
}
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:
[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: