1 package App::Rgit::Config::Default;
6 use File::Find qw/find/;
8 use base qw/App::Rgit::Config/;
10 use App::Rgit::Repository;
14 App::Rgit::Config::Default - Default App::Rgit configuration class.
22 our $VERSION = '0.01';
26 Default L<App::Rgit> configuration class.
28 This is an internal class to L<rgit>.
32 This class inherits from L<App::Rgit::Config>.
42 return $self->{repos} if defined $self->{repos};
47 return if $_ eq '.' or $_ eq '..';
48 my $r = App::Rgit::Repository->new(dir => $File::Find::name);
49 $repos{$r->repo} = $r if $r
50 and not exists $repos{$r->repo};
54 $self->{repos} = [ values %repos ];
63 Vincent Pit, C<< <perl at profvince.com> >>, L<http://profvince.com>.
65 You can contact me by mail or on C<irc.perl.org> (vincent).
69 Please report any bugs or feature requests to C<bug-rgit at rt.cpan.org>, or through the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=rgit>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
73 You can find documentation for this module with the perldoc command.
75 perldoc App::Rgit::Command::Default
77 =head1 COPYRIGHT & LICENSE
79 Copyright 2008 Vincent Pit, all rights reserved.
81 This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
85 1; # End of App::Rgit::Command::Default