line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package File::Find::Object::Result; |
2
|
|
|
|
|
|
|
$File::Find::Object::Result::VERSION = '0.3.8'; |
3
|
5
|
|
|
5
|
|
40
|
use strict; |
|
5
|
|
|
|
|
10
|
|
|
5
|
|
|
|
|
139
|
|
4
|
5
|
|
|
5
|
|
26
|
use warnings; |
|
5
|
|
|
|
|
17
|
|
|
5
|
|
|
|
|
109
|
|
5
|
5
|
|
|
5
|
|
21
|
use integer; |
|
5
|
|
|
|
|
10
|
|
|
5
|
|
|
|
|
25
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
use Class::XSAccessor accessors => { |
8
|
|
|
|
|
|
|
( |
9
|
5
|
|
|
|
|
12
|
map { $_ => $_ } ( |
|
40
|
|
|
|
|
168
|
|
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
|
|
390
|
}; |
|
5
|
|
|
|
|
19
|
|
23
|
|
|
|
|
|
|
|
24
|
5
|
|
|
5
|
|
2539
|
use Fcntl qw(:mode); |
|
5
|
|
|
|
|
13
|
|
|
5
|
|
|
|
|
1953
|
|
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
|
12954
|
my $self = shift; |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
return [ |
41
|
7
|
100
|
|
|
|
10
|
@{ $self->dir_components() }, |
|
7
|
|
|
|
|
84
|
|
42
|
|
|
|
|
|
|
( $self->is_dir() ? () : $self->basename() ), |
43
|
|
|
|
|
|
|
]; |
44
|
|
|
|
|
|
|
} |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
1; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
__END__ |