NAME
App::Magpie::Action::Checkout - checkout command implementation
VERSION
version 2.000
SYNOPSIS
my $checkout = App::Magpie::Action::Checkout->new;
$checkout->run( $pkg );
DESCRIPTION
This module implements the checkout
action. It's in a module of its own to be able to be require
-d without loading all other actions.
METHODS
run
my $pkgdir = $checkout->run( $pkg [, $directory] );
Check out $pkg
under $directory
(or current directory if no directory specified). Refresh the checkout if it already exists.
Return the directory in which the checkout is located.
AUTHOR
Jerome Quelin <jquelin@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.