Alessandro Ghedini > Git-Raw > Git::Raw::Signature

Download:
Git-Raw-0.33.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.33   Source   Latest Release: Git-Raw-0.40

NAME ^

Git::Raw::Signature - Git signature class

VERSION ^

version 0.33

DESCRIPTION ^

A Git::Raw::Signature represents the signature of an action.

WARNING: The API of this module is unstable and may change without warning (any change will be appropriately documented in the changelog).

METHODS ^

new( $name, $email, $time, $offset )

Create a new signature.

now( $name, $email )

Create a new signature with a timestamp of 'now'.

default( $repo )

Create a new signature with default user and a timestamp of 'now'. This looks up the "user.name" and "user.email" from the configuration.

name( )

Retrieve the name associated with the signature.

email( )

Retrieve the email associated with the signature.

time( )

Retrieve the time of the signature.

offset( )

Retrieve the time offset (in minutes) of the signature.

AUTHOR ^

Alessandro Ghedini <alexbio@cpan.org>

LICENSE AND COPYRIGHT ^

Copyright 2012 Alessandro Ghedini.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

syntax highlighting: