Class: Cline::SessionData::Metadata::Checkpoint::CheckpointEntry
- Inherits:
-
Cline::Schema
- Object
- Shale::Mapper
- Cline::Schema
- Cline::SessionData::Metadata::Checkpoint::CheckpointEntry
- Defined in:
- lib/cline/session_data.rb
Overview
Checkpoint entry (ref, timestamps, etc.)
Instance Attribute Summary
Attributes inherited from Cline::Schema
Public API collapse
-
#created_at ⇒ Integer
Timestamp when the checkpoint was created.
-
#kind ⇒ String
Kind of checkpoint (e.g. "stash").
-
#ref ⇒ String
Git ref of the checkpoint.
-
#run_count ⇒ Integer
Number of runs for this checkpoint.
Methods inherited from Cline::Schema
#==, as_hash, cast, cline_snake_attributes, of_hash, #to_cline_json, #to_hash
Instance Method Details
#created_at ⇒ Integer
Returns Timestamp when the checkpoint was created.
24 |
# File 'lib/cline/session_data.rb', line 24 attribute :created_at, :integer |
#kind ⇒ String
Returns Kind of checkpoint (e.g. "stash").
30 |
# File 'lib/cline/session_data.rb', line 30 attribute :kind, :string |
#ref ⇒ String
Returns Git ref of the checkpoint.
21 |
# File 'lib/cline/session_data.rb', line 21 attribute :ref, :string |
#run_count ⇒ Integer
Returns Number of runs for this checkpoint.
27 |
# File 'lib/cline/session_data.rb', line 27 attribute :run_count, :integer |