fs_extra icon indicating copy to clipboard operation
fs_extra copied to clipboard

Create RFC unix cp command support

Open webdesus opened this issue 3 years ago • 2 comments

Submit for discussion

webdesus avatar May 04 '22 06:05 webdesus

I disagree with this idea. It goes against the rule "There should be one-- and preferably only one --obvious way to do it." Are you sure users would want this? It would be best to get input from users.

Do we actually do exactly the same thing as cp does for all possible uses? If not, such an API be misleading.

pczarn avatar May 04 '22 14:05 pczarn

My offer was only for one method from others. My pooint is:

  • Make macros function or function wich get input like cp command
  • We can using another approach for copy and move, more comfortable API for rust using.
  • We make just one function wrapper for our API wich compatable with cp command.
  • Our API functions in fs_extra can be more than in cp.
  • But for people who knows cp this approach maybe was convenient.

I'm not sure, just suggestion... So many people write in issues and comparable fs_extara with cpcommand

webdesus avatar May 15 '22 07:05 webdesus