-
Notifications
You must be signed in to change notification settings - Fork 49
Added flags to rm command #82
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
base: main
Are you sure you want to change the base?
Conversation
|
I'm going to code review this |
|
I can code review this |
|
Checks on Rm command Code review: seems like the error message on line 172 is being overwritten Great Job! High Level Checks:
Code Checks:
|
|
i can code review this as well! |
|
This project was well done and follows the objective, plus the added suggestions of the original issue. The code is well formatted and it was a nice use of recursion overall. The added flags also follow their purpose and enhance the rm command as needed. Here's a couple suggestions:
High Level Checks:
Code Checks:
|
|
Code Review: Added flags to rm command The enhancements to the Flags: Code Style: Edge cases: Suggestion: High Level Checks:
Code Checks:
|
|
Will review this. Similar to own project, flags. |
|
Nicely done project. Suggestion:
High Level Checks:
Code Checks:
|
|
Looks like the most recent changes broke the build, since you can't check in an empty directory I had to This looks great. There are a few small issues I found:
These are all really small problems. This is quality work! |
This pull request enhances the rm command by adding flags to help the user quickly delete files and directories as they want. The flags added are:
-r recursively delete all files/directories in a directory
-i interactive mode where the user is prompted whether they want to delete each file
-f force, which does not ask and just deletes the file
-d deletes an empty directory
-v verbose
File(s) changed:
user/rm.c
Run 'rm' on its own to see how to use.