Copy-From-Git
view release on metacpan or search on metacpan
lib/Copy/From/Git.pm view on Meta::CPAN
121314151617181920212223242526272829303132
my
$args
= {
server
=>
'guthub.com'
,
path
=>
undef
,
repo
=>
undef
,
branch
=>
'master'
,
subdir
=>
'.'
,
user
=>
getlogin
(),
@_
,
};
return
bless
$args
=>
$class
;
}
sub
clone {
my
(
$self
,
$target
) =
@_
;
$target
=
'/tmp/testing/'
unless
$target
;
unless
( -d
$target
){
my
$cmd
;
if
(
$self
->{http} ){
( run in 0.287 second using v1.01-cache-2.11-cpan-cba739cd03b )