-
Notifications
You must be signed in to change notification settings - Fork 12
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
codemon clean #23
Labels
good first issue
Good for newcomers
Comments
can you please assign this issue to me? @lucifer0987 |
@subhangi2731 yes, you can work on this. |
Reiterating the tasks :
|
Hello, can you assign this to me |
@ankingcodes Can you please explain this issue once more? |
Done 72938ac ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Follow up to this issue #12
It will be used to delete redundant files left after the contest as discussed in the issue above. We will have a lot of redundant files which will simply eat our storage.
codemon clean will clear up all the mess(prog, input.txt, testcase files) after a contest.
There is a catch to this. We can't randomly delete the mess. We can directly delete prog. But for input.txt, we must check whether it contains something, if its empty delete it else give an error message saying "Input file is not empty, do you want to delete ? (Y/N)` and user can decide what to do with it. For the testcase files, we have to "diff" them before deleting, i.e., if the testcase files had no changes in it then it can be deleted else if any kind of changes was done, they must stay.
The text was updated successfully, but these errors were encountered: