Class: Yobi::KeepReason
- Defined in:
- lib/yobi/repository/forget.rb,
sig/yobi.rbs
Overview
Why one snapshot survived a Yobi::Repository#forget run.
Instance Method Summary collapse
-
#matches ⇒ Array[String]
Restic's own human-readable rule-match strings, e.g.
-
#snapshot ⇒ Snapshot
The Yobi::Snapshot that was kept.
Methods inherited from FancyHash
#initialize, #inspect, #pretty_print
Constructor Details
This class inherits a constructor from Yobi::FancyHash
Instance Method Details
#matches ⇒ Array[String]
Restic's own human-readable rule-match strings, e.g. "last snapshot".
112 113 114 |
# File 'lib/yobi/repository/forget.rb', line 112 def matches @matches ||= self["matches"] || [] end |