-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add Repository method to update snapshot collections (#260)
This PR adds the `update_snapshots`, `update_all_snapshots` and `update_matching_snapshots` methods to `Repository`. They yield the identical result as the corresponding `get_*` methods, but allow to give a list of existing `SnapshotFile`s and won't read those again. In interactive UIs (like rustic interactive mode) this allows for very snapshot refreshing - which is almost costless if no or few snapshots have changed in the repository.
- Loading branch information
Showing
3 changed files
with
152 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters