-
Notifications
You must be signed in to change notification settings - Fork 48
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
Update cp command #90
base: main
Are you sure you want to change the base?
Conversation
AbelA72
commented
Sep 30, 2024
- Add a flag for recursively copying directories
- Add progress bars that show the file size and then update it as chunks are copied
- Add a flag to print a message telling the user the file name and destination that just got copied
I can code review this. |
I'll code review this project. |
High Level Checks:
Code Checks:
The request resolves each proposed task from Issue #68, however, the default functionality of |
High Level Checks:
Code Checks:
Hi, this is a good implementation towards updating the cp command. The PR does achieve the suggested purpose specified in the PR outline. However, while there is some documentation outlining what a function does and intends to accomplish, I would suggest more in depth documentation depicting the functions along with guidance on how to test the PR: like /copy [flag] [source_destination] or how to create many directories in QEMU in order to test directories that contain sub-directories etc. It was challenging as a first time user to navigate and figure out how to test the program accordingly so adding more robust documentation would be helpful. The code will compile only after making a few changes to the Makefile such as rm f2 in fs.img and mkfs/mkfs. And in agreement with the other reviewer, a possible suggestion would be to remove mkfifo.c entirely as the entire file is commented out and is serving no purpose to the implementation (no dependence). A few suggestions: The main() for argument parsing seems to be assuming a specific order of arguments Buffer Size Inconsistency: Besides a few user output guidance suggestions and documentation on how to thoroughly test the PR, great work! |
There is great feedback above, you should take all of it into account if you resubmit.
You can get +1 back to your project score with the updates listed above. |