Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create RFC unix cp command support #58

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

webdesus
Copy link
Owner

@webdesus webdesus commented May 4, 2022

Submit for discussion

@pczarn
Copy link

pczarn commented May 4, 2022

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.

@webdesus
Copy link
Owner Author

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 webdesus added the rfc label May 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants