line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package File::Find::Object::Result; |
2
|
|
|
|
|
|
|
$File::Find::Object::Result::VERSION = '0.3.7'; |
3
|
5
|
|
|
5
|
|
32
|
use strict; |
|
5
|
|
|
|
|
10
|
|
|
5
|
|
|
|
|
141
|
|
4
|
5
|
|
|
5
|
|
24
|
use warnings; |
|
5
|
|
|
|
|
9
|
|
|
5
|
|
|
|
|
124
|
|
5
|
5
|
|
|
5
|
|
20
|
use integer; |
|
5
|
|
|
|
|
21
|
|
|
5
|
|
|
|
|
32
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
use Class::XSAccessor accessors => { |
8
|
|
|
|
|
|
|
( |
9
|
5
|
|
|
|
|
17
|
map { $_ => $_ } ( |
|
40
|
|
|
|
|
171
|
|
10
|
|
|
|
|
|
|
qw( |
11
|
|
|
|
|
|
|
base |
12
|
|
|
|
|
|
|
basename |
13
|
|
|
|
|
|
|
is_dir |
14
|
|
|
|
|
|
|
is_file |
15
|
|
|
|
|
|
|
is_link |
16
|
|
|
|
|
|
|
path |
17
|
|
|
|
|
|
|
dir_components |
18
|
|
|
|
|
|
|
stat_ret |
19
|
|
|
|
|
|
|
) |
20
|
|
|
|
|
|
|
) |
21
|
|
|
|
|
|
|
) |
22
|
5
|
|
|
5
|
|
373
|
}; |
|
5
|
|
|
|
|
18
|
|
23
|
|
|
|
|
|
|
|
24
|
5
|
|
|
5
|
|
2547
|
use Fcntl qw(:mode); |
|
5
|
|
|
|
|
16
|
|
|
5
|
|
|
|
|
2018
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
sub new |
27
|
|
|
|
|
|
|
{ |
28
|
0
|
|
|
0
|
1
|
0
|
my $class = shift; |
29
|
0
|
|
|
|
|
0
|
my $self = shift; |
30
|
|
|
|
|
|
|
|
31
|
0
|
|
|
|
|
0
|
bless $self, $class; |
32
|
|
|
|
|
|
|
|
33
|
0
|
|
|
|
|
0
|
return $self; |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
sub full_components |
37
|
|
|
|
|
|
|
{ |
38
|
7
|
|
|
7
|
1
|
12915
|
my $self = shift; |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
return [ |
41
|
7
|
100
|
|
|
|
13
|
@{ $self->dir_components() }, |
|
7
|
|
|
|
|
77
|
|
42
|
|
|
|
|
|
|
( $self->is_dir() ? () : $self->basename() ), |
43
|
|
|
|
|
|
|
]; |
44
|
|
|
|
|
|
|
} |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
1; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
__END__ |