logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Path::IsDev::Role::Matcher::FullPath::Is::Any - Match if the current directory is the same directory from

Author

       Kent Fredric <kentnl@cpan.org>

Methods

"fullpath_is_any"
       Note, this is usually invoked on directories anyway.

           if ( $self->fullpath_is_any( $result_object, '/usr/', '/usr/bin/foo' )) {

           }

       Matches if any of the provided paths "realpath"'s correspond to "$result_object->path->realpath"

Name

       Path::IsDev::Role::Matcher::FullPath::Is::Any - Match if the current directory is the same directory from
       a list of absolute paths.

Private Methods

"_fullpath_is"
           $class->_fullpath_is( $result_object, $source_path, $comparison_path );

       Does not match if $comparison_path does not exist.

       Otherwise, compare $source_path vs "$comparison_path->realpath", and return if they match.

Version

       version 1.001003

See Also