Class: Yobi::SnapshotSummary
Overview
Instance Method Summary
collapse
Methods inherited from FancyHash
#initialize, #inspect, #pretty_print
Instance Method Details
#backup_end ⇒ Time?
When the backup finished.
60
61
62
|
# File 'lib/yobi/snapshot.rb', line 60
def backup_end
@backup_end ||= Time.parse(self["backup_end"]) if self["backup_end"]
end
|
#backup_start ⇒ Time?
55
56
57
|
# File 'lib/yobi/snapshot.rb', line 55
def backup_start
@backup_start ||= Time.parse(self["backup_start"]) if self["backup_start"]
end
|
#data_added ⇒ Integer
96
97
98
|
# File 'lib/yobi/snapshot.rb', line 96
def data_added
self["data_added"] || 0
end
|
#data_added_packed ⇒ Integer
100
101
102
|
# File 'lib/yobi/snapshot.rb', line 100
def data_added_packed
self["data_added_packed"] || 0
end
|
#data_blobs ⇒ Integer
88
89
90
|
# File 'lib/yobi/snapshot.rb', line 88
def data_blobs
self["data_blobs"] || 0
end
|
#dirs_changed ⇒ Integer
80
81
82
|
# File 'lib/yobi/snapshot.rb', line 80
def dirs_changed
self["dirs_changed"] || 0
end
|
#dirs_new ⇒ Integer
76
77
78
|
# File 'lib/yobi/snapshot.rb', line 76
def dirs_new
self["dirs_new"] || 0
end
|
#dirs_unmodified ⇒ Integer
84
85
86
|
# File 'lib/yobi/snapshot.rb', line 84
def dirs_unmodified
self["dirs_unmodified"] || 0
end
|
#files_changed ⇒ Integer
68
69
70
|
# File 'lib/yobi/snapshot.rb', line 68
def files_changed
self["files_changed"] || 0
end
|
#files_new ⇒ Integer
64
65
66
|
# File 'lib/yobi/snapshot.rb', line 64
def files_new
self["files_new"] || 0
end
|
#files_unmodified ⇒ Integer
72
73
74
|
# File 'lib/yobi/snapshot.rb', line 72
def files_unmodified
self["files_unmodified"] || 0
end
|
#total_bytes_processed ⇒ Integer
108
109
110
|
# File 'lib/yobi/snapshot.rb', line 108
def total_bytes_processed
self["total_bytes_processed"] || 0
end
|
#total_files_processed ⇒ Integer
104
105
106
|
# File 'lib/yobi/snapshot.rb', line 104
def total_files_processed
self["total_files_processed"] || 0
end
|
#tree_blobs ⇒ Integer
92
93
94
|
# File 'lib/yobi/snapshot.rb', line 92
def tree_blobs
self["tree_blobs"] || 0
end
|