mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 02:48:55 +00:00
a7786c67f1
This turns snapshotFilterOptions from cmd into a restic.SnapshotFilter type and makes restic.FindFilteredSnapshot and FindFilteredSnapshots methods on that type. This fixes #4211 by ensuring that hosts and paths are named struct fields instead of unnamed function arguments in long lists of such. Timestamp limits are also included in the new type. To avoid too much pointer handling, the convention is that time zero means no limit. That's January 1st, year 1, 00:00 UTC, which is so unlikely a date that we can sacrifice it for simpler code. |
||
---|---|---|
.. | ||
0.6.0_2017-05-29 | ||
0.6.1_2017-06-01 | ||
0.7.0_2017-07-01 | ||
0.7.1_2017-07-22 | ||
0.7.2_2017-09-13 | ||
0.7.3_2017-09-20 | ||
0.8.0_2017-11-26 | ||
0.8.1_2017-12-27 | ||
0.8.2_2018-02-17 | ||
0.8.3_2018-02-26 | ||
0.9.0_2018-05-21 | ||
0.9.1_2018-06-10 | ||
0.9.2_2018-08-06 | ||
0.9.3_2018-10-13 | ||
0.9.4_2019-01-06 | ||
0.9.5_2019-04-23 | ||
0.9.6_2019-11-22 | ||
0.10.0_2020-09-19 | ||
0.11.0_2020-11-05 | ||
0.12.0_2021-02-14 | ||
0.12.1_2021-08-03 | ||
0.13.0_2022-03-26 | ||
0.14.0_2022-08-25 | ||
0.15.0_2023-01-12 | ||
0.15.1_2023-01-30 | ||
unreleased | ||
changelog-github.tmpl | ||
CHANGELOG.tmpl | ||
TEMPLATE |