Name
SPVM::File::Find::Info - Information about Currently Processed File
Description
File::Find::Info class in SPVM has methods to get and set information about a currently processed file.
Usage
File::Find->new->find(method : void ($info : File::Find::Info) {
my $dir = $info->dir;
my $file_name = $info->name;
}, $top_dir);
Fields
dir
has dir : ro string;
The current directory name.
See $File::Find::dir
in File::Find wanted function for details.
name
has name : ro string;
The complete pathname to the file.
See $File::Find::name
in File::Find wanted function for details.
_
has _ : ro string;
The current filename within that directory.
See $_
in File::Find wanted function for details.
fullname
has fullname : ro string;
The absolute pathname of the file with all symbolic links resolved.
See $File::Find::fullname
in File::Find wanted function for details.
prune
has prune : rw byte;
If this value is a true value, prunes the tree.
See $File::Find::prune
in File::Find wanted function for details.
See Also
Copyright & License
Copyright (c) 2025 Yuki Kimoto
MIT License