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

Feature: show time of last scan #3

Open
imsnif opened this issue Jun 17, 2020 · 0 comments
Open

Feature: show time of last scan #3

imsnif opened this issue Jun 17, 2020 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@imsnif
Copy link
Owner

imsnif commented Jun 17, 2020

diskonaut preserves the state of the filesystem as it was when it scanned it. If the filesystem changes while the app is running (eg. someone downloads a file into the folder diskonaut previously scanned), it will not be updated.

This feature would mean adding the timestamp of the scan to the title line on the right side.

This might cause trouble with our tests (since they are snapshot tests and we can't set the timestamp in them). So when the app the tests are running, this feature should just output instead. To do this, we can use the #[cfg(not(test))] and #[cfg(test)] configurations.

@imsnif imsnif added help wanted Extra attention is needed good first issue Good for newcomers labels Jun 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant