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

Correct behavior for directories #4

Closed
danstis opened this issue Dec 22, 2017 · 1 comment
Closed

Correct behavior for directories #4

danstis opened this issue Dec 22, 2017 · 1 comment
Assignees

Comments

@danstis
Copy link
Owner

danstis commented Dec 22, 2017

Currently directories are not removed, as the removal of files below updates the modified timestamp.

@danstis danstis self-assigned this Dec 29, 2017
@danstis
Copy link
Owner Author

danstis commented Dec 29, 2017

Need to compare the directory modification time before the files have been removed (thus updating the modification time). If the modification time is old and the directory is empty, then remove it.

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

No branches or pull requests

1 participant