X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Frgit.git;a=blobdiff_plain;f=lib%2FApp%2FRgit%2FRepository.pm;fp=lib%2FApp%2FRgit%2FRepository.pm;h=f1dc149a628e2d635260631a82a9ef25a175c526;hp=fbf3f8619f0ff5ec7a1dcea3d34eaf07f5fcc1c9;hb=e833c52a64e7aac9c18d7051285bf4d9906c4faf;hpb=c39af12272015e8aff09d3c05e4f32d7943b4154 diff --git a/lib/App/Rgit/Repository.pm b/lib/App/Rgit/Repository.pm index fbf3f86..f1dc149 100644 --- a/lib/App/Rgit/Repository.pm +++ b/lib/App/Rgit/Repository.pm @@ -42,7 +42,12 @@ This is an internal class to L. =head1 METHODS -=head2 C<< new dir => $dir [, fake => 1 ] >> +=head2 C + + my $arr = App::Rgit::Repository->new( + dir => $dir, + fake => $bool, + ); Creates a new repository starting from C<$dir>. If the C option is passed, C<$dir> isn't checked to be a valid C repository. @@ -116,7 +121,9 @@ sub chdir { return 1; } -=head2 C +=head2 C + + my $code = $arr->run($conf, @args); Runs C on the repository for the L configuration C<$conf>. When the repository isn't fake, the format substitutions applies to C<@args> elements.