-
-
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
add an option to deep-copy symlinks #15
Comments
Can you please list up expected usecases of this option first? |
From my perspective, there are 3 usecases when it comes to symlink:
What do you think? |
Yes, the only feature I need now is deep-copies (i.e., follow all symlinks). So we can just have type Opt struct { FollowSymlink bool } I can't think a use case to ignore symlinks. |
OK, then
Is it right? |
hmm, confusing... I'm still not sure what you want since your test cases are not descriptive enough and even failing. |
Can we have an option to copy symlinks? I'm imagining something like:
func Copy(src, dest string, opt... Opts) error;
I can create a pull request if it looks good.
The text was updated successfully, but these errors were encountered: