File-Rsync-Mirror-Recent
view release on metacpan or search on metacpan
lib/File/Rsync/Mirror/Recentfile.pm view on Meta::CPAN
File::Spec::catfile to adjust to the local operating system.
=cut
sub local_path {
my($self,$path) = @_;
unless (defined $path) {
# seems like a degenerated case
return $self->localroot;
}
my @p = split m|/|, $path;
File::Spec->catfile($self->localroot,@p);
}
=head2 (void) $obj->lock
Locking is implemented with an C<mkdir> on a locking directory
(C<.lock> appended to $rfile).
=cut
( run in 1.104 second using v1.01-cache-2.11-cpan-71847e10f99 )