Tag

class
Superclass
Object
Extended With
Loggability

Attributes

name[R]

The tag's name

node[R]

The SHA of the node the tag points to

repo[R]

The repo the tag belongs to

rev[R]

The numeric revision the tag points to

type[R]

The tag type

Public Class Methods

anchor
new( repo, tag:, node:, rev: 0, type: '' )

Create a tag object.

# File lib/hglib/repo/tag.rb, line 17
def initialize( repo, tag:, node:, rev: 0, type: '' )
        @repo = repo
        @name = tag
        @node = node
        @rev  = rev
        @type = type
end