Class: Cline::SessionData::Metadata::Checkpoint::CheckpointEntry

Inherits:
Cline::Schema
  • Object
show all
Defined in:
lib/cline/session_data.rb

Overview

Checkpoint entry (ref, timestamps, etc.)

Instance Attribute Summary

Attributes inherited from Cline::Schema

#extra_attributes

Public API collapse

Methods inherited from Cline::Schema

#==, as_hash, cast, cline_snake_attributes, of_hash, #to_cline_json, #to_hash

Instance Method Details

#created_atInteger

Returns Timestamp when the checkpoint was created.

Returns:

  • (Integer)

    Timestamp when the checkpoint was created



24
# File 'lib/cline/session_data.rb', line 24

attribute :created_at, :integer

#kindString

Returns Kind of checkpoint (e.g. "stash").

Returns:

  • (String)

    Kind of checkpoint (e.g. "stash")



30
# File 'lib/cline/session_data.rb', line 30

attribute :kind, :string

#refString

Returns Git ref of the checkpoint.

Returns:

  • (String)

    Git ref of the checkpoint



21
# File 'lib/cline/session_data.rb', line 21

attribute :ref, :string

#run_countInteger

Returns Number of runs for this checkpoint.

Returns:

  • (Integer)

    Number of runs for this checkpoint



27
# File 'lib/cline/session_data.rb', line 27

attribute :run_count, :integer