Git2::Signature
An action signature (e.g. for committers, taggers, etc)
Constructors
Create a new action signature
NOTE: angle brackets ('<' and '>') characters are not allowed to be used in either the name or the email parameter.
default(repo : Repository) : Signature
Create a new action signature with default user and now timestamp
This looks up the user.name and user.email from the configuration and uses the current time as the timestamp, and creates a new signature based on that information.
Create a new signature by parsing the given buffer
Expected to be in the given format: Real Name <email> timestamp tzoffset,
where timestamp is the number of seconds since the Unix epoch and
tzoffset is the timezone offset in hhmm format (NOTE: lack of colon separator).
Instance methods
finalize
Sourceto_unsafe
Source