1
0
mirror of https://github.com/restic/restic.git synced 2024-07-03 08:50:53 +02:00
restic/src
Pauline Middelink 11d237c252 New helper function FindFilteredSnapshots to iterate over snapshots
This helper function takes a set of filters and/or a list of snapshots
from the commandline. It returns a channel of *Snapshot.

When snapshot ids are given, they are checked for validity and their
corresponding Snapshots returned. The snapshot id "latest" is handled
special to return either the last snapshot (no filters) or the last
snapshot matching the filters.

When no arguments are given, the filters are applied over all available
snapshots and these are returned.
2017-03-08 20:19:12 +01:00
..
cmds/restic New helper function FindFilteredSnapshots to iterate over snapshots 2017-03-08 20:19:12 +01:00
restic Add filtering to mount command 2017-03-08 19:59:19 +01:00