line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package File::Find::Object::Result; |
2
|
|
|
|
|
|
|
$File::Find::Object::Result::VERSION = '0.3.6'; |
3
|
5
|
|
|
5
|
|
34
|
use strict; |
|
5
|
|
|
|
|
9
|
|
|
5
|
|
|
|
|
145
|
|
4
|
5
|
|
|
5
|
|
25
|
use warnings; |
|
5
|
|
|
|
|
9
|
|
|
5
|
|
|
|
|
110
|
|
5
|
5
|
|
|
5
|
|
22
|
use integer; |
|
5
|
|
|
|
|
10
|
|
|
5
|
|
|
|
|
24
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
use Class::XSAccessor accessors => { |
8
|
|
|
|
|
|
|
( |
9
|
5
|
|
|
|
|
12
|
map { $_ => $_ } ( |
|
40
|
|
|
|
|
134
|
|
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
|
|
361
|
}; |
|
5
|
|
|
|
|
10
|
|
23
|
|
|
|
|
|
|
|
24
|
5
|
|
|
5
|
|
2546
|
use Fcntl qw(:mode); |
|
5
|
|
|
|
|
18
|
|
|
5
|
|
|
|
|
1978
|
|
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
|
12838
|
my $self = shift; |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
return [ |
41
|
7
|
100
|
|
|
|
15
|
@{ $self->dir_components() }, |
|
7
|
|
|
|
|
57
|
|
42
|
|
|
|
|
|
|
( $self->is_dir() ? () : $self->basename() ), |
43
|
|
|
|
|
|
|
]; |
44
|
|
|
|
|
|
|
} |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
1; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
__END__ |