How does this differ from https://github.com/golang/dep/blob/v0.5.4/internal/fs/fs.go#L175
quackduck opened this issue · comments
Have a look at: https://github.com/golang/dep/blob/v0.5.4/internal/fs/fs.go#L175
How different are copy.Copy()
and renameByCopy()
?
As far as I understand it,
copy.Copy
handles more types of file entries, such as symlinks.copy.Copy
can add permissions (and ownership coming soon) of destination files.fs. renameByCopy
removes all source files copied (the thing you should compare with isfs.CopyDir
, just I guess).copy.Copy
provides some additional options.- more than all,
dep/internal/fs
is internal anddep
is deprecated.
Let me know your thought.
@quackduck I will close this issue if no any reply
Sorry, I forgot to say: Oh okay!