The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

# App::GitFind::Entry::OnDisk - an App::GitFind::Entry representing a file or directory on disk

SYNOPSIS

This represents a single file or directory being checked against an expression. This particular concrete class represents a file or directory on disk. It requires a File::Find::Object::Result instance. Usage:

    my $obj = File::Find::Object->new(...)->next_obj;
    my $entry = App::GitFind::Entry::OnDisk->new(-obj => $obj);

METHODS

prune

If this entry represents a directory, mark its children as not to be traversed.

If this entry represents a file, no effect.

BUILD

Enforces the requirements on the -obj argument to new().