mirror of
https://github.com/restic/restic.git
synced 2024-07-03 08:50:53 +02:00
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. |
||
---|---|---|
.. | ||
cmds/restic | ||
restic |