Closed frioux closed 9 years ago
@frioux yeah, sounds good. Can you please just make copy
be called clone
and document both.
Will do.
fREW Schmidt https://blog.afoolishmanifesto.com
As input on the copy thing, i'm noting that you have three contexts: copy with absolute paths; copy relative to current CWD; copy relative to file location.
@ingydotnet I can't get the copy method on ::Dir to instantiate a new ::Dir object, halp: https://github.com/ingydotnet/io-all-pm/tree/copy
The copy method is completely undocumented and seems to be an oddly named
clone
. I expectedio->file($foo)->copy($bar)
to work, but it silently "fails".@ingydotnet, if I can get buy in from you I'd like to make copy DTRT and if it's used elsewhere, rename the old verison to clone.