Use --dereference flag for cp#11
Use --dereference flag for cp#11thenaterhood wants to merge 2 commits intoCyberShadow:masterfrom thenaterhood:cp-dereference
Conversation
There's already a CreateLink, so there doesn't seem to be much point in copying symlinks. Using --dereference opens up more possibilities for storing configs.
|
This is a breaking change. I suggest that you write a custom helper function. |
|
I'm willing to do that. Would you be opposed to me adding another parameter to the existing CopyFile instead? That would keep backwards compatibility while avoiding a nearly duplicate function. |
|
I wouldn't be opposed to it if there was considerable demand for such a feature. Otherwise, I'd like to keep the number of helper functions to the minimum required in normal usage. Since extensibility is not an issue, anyone can add their helper functions to their configuration (e.g. |
There's already a CreateLink, so there doesn't seem to be much point in copying symlinks. Using --dereference opens up more possibilities for storing config files.