Sha256: e30c48ea10567bd840903fd05ac1a2ca4cda08f28a87ce9b2d9bd8a3c61a4df1
Contents?: true
Size: 718 Bytes
Versions: 17
Compression:
Stored size: 718 Bytes
Contents
require 'r10k/git/ref' require 'r10k/git/repository' # tag: A ref under refs/tags/ namespace that points to an object of an # arbitrary type (typically a tag points to either a tag or a commit object). # In contrast to a head, a tag is not updated by the commit command. A tag is # most typically used to mark a particular point in the commit ancestry chain. # # @see https://www.kernel.org/pub/software/scm/git/docs/gitglossary.html # @api private class R10K::Git::Tag < R10K::Git::Ref # @!attribute [r] tag # @return [String] The git tag attr_reader :tag alias :ref :tag def initialize(tag, repository = nil) @tag = tag @repository = repository end def fetch? ! resolvable? end end
Version data entries
17 entries across 17 versions & 1 rubygems