Class: Yobi::TagChange

Inherits:
FancyHash show all
Defined in:
lib/yobi/repository/tag.rb,
sig/yobi.rbs

Overview

One "changed" message from a tag run. old_snapshot_id is now stale: tags are part of a snapshot's content-addressed identity, so changing them produces a new snapshot ID.

Instance Method Summary collapse

Methods inherited from FancyHash

#initialize, #inspect, #pretty_print

Constructor Details

This class inherits a constructor from Yobi::FancyHash

Instance Method Details

#new_snapshot_idString

Returns:

  • (String)


91
92
93
# File 'lib/yobi/repository/tag.rb', line 91

def new_snapshot_id
  self["new_snapshot_id"]
end

#old_snapshot_idString

Returns:

  • (String)


86
87
88
# File 'lib/yobi/repository/tag.rb', line 86

def old_snapshot_id
  self["old_snapshot_id"]
end