-
Notifications
You must be signed in to change notification settings - Fork 2
feat: add status and diff commands #76
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
Conversation
✔️ Deploy Preview for hoard-docs ready! 🔨 Explore the source changes: 6478d0f 🔍 Inspect the deploy log: https://app.netlify.com/sites/hoard-docs/deploys/61dbdb2979da9700072ae106 😎 Browse the preview: https://deploy-preview-76--hoard-docs.netlify.app |
✔️ Deploy Preview for hoard-docs ready! 🔨 Explore the source changes: 7b395a5 🔍 Inspect the deploy log: https://app.netlify.com/sites/hoard-docs/deploys/61f23b06cd02c40008fe94e0 😎 Browse the preview: https://deploy-preview-76--hoard-docs.netlify.app |
TODO:
|
Codecov Report
@@ Coverage Diff @@
## main #76 +/- ##
========================================
- Coverage 94.96% 0 -94.97%
========================================
Files 25 0 -25
Lines 1510 0 -1510
========================================
- Hits 1434 0 -1434
+ Misses 76 0 -76 Continue to review full report at Codecov.
|
This requires adding support for actually deleting files, which should have been added by now. Once that is added, though, this should all work.
Refactored some of how the file diff stuff is handled and fixed the tests. One major item of note is that there is no real way to track the permissions of a file and how it changes, so the diff message for that is not able to identify where it originated.
812b7a8
to
d3dcdd0
Compare
src/checkers/history/operation.rs
Outdated
Ok(result) | ||
} | ||
|
||
/// Returns whether the given `file` has unapplied remote changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy/pasted comment needs to be modified
hoard diff <hoard>
shows the files that differ for a given hoardhoard status
shows the general status of all hoards (in sync or not, if they should be backed up or restored, etc.)Resolves #72.