1 package DX::Lib::FS::Action::SetPathMode;
6 has path_status => (is => 'ro', required => 1);
7 has mode => (is => 'ro', required => 1);
9 with 'DX::Role::Action';
13 my $ps = $self->path_status;
14 +(path_status => $ps->but(info => $ps->info->but(mode => $self->mode)));
19 DX::Lib::FS::Guts->set_path_mode($self->path, $self->mode);
20 +(path_status => $self->path);