Class: Yobi::RestoreOutcome
- Inherits:
-
Struct
- Object
- Struct
- Yobi::RestoreOutcome
- Defined in:
- lib/yobi/repository/restore.rb,
sig/yobi.rbs
Overview
The outcome of one Yobi::Repository#restore call.
Instance Attribute Summary collapse
-
#exit_code ⇒ Object
Returns the value of attribute exit_code.
-
#output ⇒ Object
Returns the value of attribute output.
Instance Method Summary collapse
-
#report ⇒ Hash
Restic's own
"summary"fields ("total_files","files_restored", ...).
Instance Attribute Details
#exit_code ⇒ Object
Returns the value of attribute exit_code
82 83 84 |
# File 'lib/yobi/repository/restore.rb', line 82 def exit_code @exit_code end |
#output ⇒ Object
Returns the value of attribute output
82 83 84 |
# File 'lib/yobi/repository/restore.rb', line 82 def output @output end |
Instance Method Details
#report ⇒ Hash
Returns Restic's own "summary" fields ("total_files", "files_restored", ...).
84 85 86 |
# File 'lib/yobi/repository/restore.rb', line 84 def report @report ||= summary_hash end |