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
{{ message }}
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.
Obviously JavaScript doesn't support left-variadic functions so you'd have to emulate it by interrogating arguments but that's an implementation detail.
The text was updated successfully, but these errors were encountered:
achingbrain
changed the title
MFS files.cp arguments
MFS ipfs.files.cp arguments
May 3, 2018
What's the thinking behind the
ipfs.files.cp
arguments? Specifically why is the first argument an array?It could be more straightforward as:
I suppose maybe you'd want to imitate the unix
cp
command and support both the above and:Obviously JavaScript doesn't support left-variadic functions so you'd have to emulate it by interrogating
arguments
but that's an implementation detail.The text was updated successfully, but these errors were encountered: