Sha256: 3343e87a489d3b63a3b4d8a51d626c4612095edfa16e9786af1a672fc38b0b55
Contents?: true
Size: 513 Bytes
Versions: 18
Compression:
Stored size: 513 Bytes
Contents
require 'r10k/git/ref' require 'r10k/git/repository' # commit: A 40-byte hex representation of a SHA1 referencing a specific commit # @see https://www.kernel.org/pub/software/scm/git/docs/gitglossary.html # @api private class R10K::Git::Commit < R10K::Git::Ref # @!attribute [r] commit # @return [String] The git commit attr_reader :commit alias :ref :commit def initialize(commit, repository = nil) @commit = commit @repository = repository end def fetch? ! resolvable? end end
Version data entries
18 entries across 18 versions & 1 rubygems