Skip to content

Conversation

kaathewisegit
Copy link
Contributor

@kaathewisegit kaathewisegit commented Sep 22, 2023

Made Options, InteractiveMode, and the remove function public and added documentation for them. This is an attempt at implementing #5294.

rm options are much simpler compared to cp, so I just made them public. I am unsure if OPT_* constants should be made public too.

Additionally, I couldn't figure out what InteractiveMode::PromptProtected does, as it doesn't seem to be used anywhere. So the documentation is a TODO for now.

P.S. the commit also includes a minor typo fix: eay -> way.

@cakebaker cakebaker changed the title cp: make option types public rm: make option types public Sep 22, 2023
@kaathewisegit
Copy link
Contributor Author

Amended the commit and overwrote the source branch to fix the copy paste error. Commit name should be correct now.

@kaathewisegit
Copy link
Contributor Author

clippy and fmt did not raise any issues on my local machine.

Made `Options` and `InteractiveMode` public and added documentation for them.
@kaathewisegit kaathewisegit changed the title rm: make option types public rm: make the utility public Sep 22, 2023
Copy link
Member

@tertsdiepraam tertsdiepraam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! I've tried to explain what PromptProtected is below. It'd be great if you could add that as well. The rest of the docs look very nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants