DataStore-CAS-FS
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/DataStore/CAS/FS.pm view on Meta::CPAN
# Now connect nodes with strong references, and mark as changed
$self->_apply_overrides($nodes);
}
sub _invalidate_subtree {
if ($_->{subtree}) {
++$_->{invalid} && &_invalidate_subtree for grep { ref $_ } values %{delete $_->{subtree}};
}
}
sub update_path {
my ($self, $path, $changes, $flags)= @_;
$flags ||= {};
my $nodes= $self->_resolve_path(undef, $path, { follow_symlinks => 1, partial => 1, %$flags });
croak $nodes unless ref $nodes;
# update the final entry, after applying defaults
my $entref= \$nodes->[-1]{dirent};
my $old_dir_ref= defined $$entref->type && $$entref->type eq 'dir'? $$entref->ref : undef;
$$entref= $$entref->clone(
(defined $$entref->type? () : ( type => 'file' )),
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.393 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )