Hglib::Extension::

GPG

module
Extended With
Hglib::Extension

Public Instance Methods

anchor
sigcheck( rev, **options )

Check the signature of the given rev.

# File lib/hglib/extension/gpg.rb, line 20
def sigcheck( rev, **options )
        response = self.server.run( :sigcheck, rev, **options )
        return response.chomp
end
anchor
sign( rev=nil, **options )

Sign the given rev (or the current one if not specified).

# File lib/hglib/extension/gpg.rb, line 13
def sign( rev=nil, **options )
        response = self.server.run( :sign, rev, **options )
        return response.chomp
end
anchor
sigs( **options )

Return an Array describing all of the signed changesets.

# File lib/hglib/extension/gpg.rb, line 27
def sigs( **options )
        response = self.server.run( :sigs, **options )
        return response.lines.map( &:chomp )
end