Jacques Germishuys > Git-Raw > Git::Raw::Stash

Download:
Git-Raw-0.40.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.40   Source  

NAME ^

Git::Raw::Stash - Git stash class

VERSION ^

version 0.40

DESCRIPTION ^

Helper class to manage stashes.

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

METHODS ^

save( $repo, $stasher, $msg [, \@opts] )

Save the local modifications to a new stash. Non-default options may be specified by providing the optional @opts argument.

Valid fields for the @opts array are:

foreach( $repo, $callback )

Run $callback for every stash in the repo. The callback receives three arguments: the stash index, the stash message and the stash object id. A non-zero return value stops the loop.

drop( $repo, $index )

Remove a single stash from the stash list.

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: