| 1 | package Archive::Zip::Parser::Entry; | ||||||||||
| 2 | |||||||||||
| 3 | 3 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 3 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 3 | ▶ | use Archive::Zip::Parser::Entry::LocalFileHeader; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | 3 | ▶ | use Archive::Zip::Parser::Entry::CentralDirectory; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | 3 | ▶ | use Archive::Zip::Parser::Entry::DataDescriptor; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | |||||||||||
| 10 | 1 | ▶ | sub get_local_file_header { | ||||||||
|
Subroutine
get_local_file_header: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 11 | 1 | my $self = shift; | |||||||||
| 12 | 1 | return bless $self->{'_local_file_header'}, | |||||||||
| 13 | 'Archive::Zip::Parser::Entry::LocalFileHeader'; | ||||||||||
| 14 | } | ||||||||||
| 15 | |||||||||||
| 16 | 1 | ▶ | sub get_central_directory { | ||||||||
|
Subroutine
get_central_directory: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 17 | 1 | my $self = shift; | |||||||||
| 18 | 1 | return bless $self->{'_central_directory'}, | |||||||||
| 19 | 'Archive::Zip::Parser::Entry::CentralDirectory'; | ||||||||||
| 20 | } | ||||||||||
| 21 | |||||||||||
| 22 | 1 | ▶ | sub get_data_descriptor { | ||||||||
|
Subroutine
get_data_descriptor: called CC=2 SCAR=7.6
Pod
documented
| |||||||||||
| 23 | 1 | my $self = shift; | |||||||||
| 24 | |||||||||||
| 25 | 1 | ▶ | if ( defined $self->{'_data_descriptor'} ) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 26 | 0 | return bless $self->{'_data_descriptor'}, | |||||||||
| 27 | 'Archive::Zip::Parser::Entry::DataDescriptor'; | ||||||||||
| 28 | } | ||||||||||
| 29 | 1 | return; | |||||||||
| 30 | } | ||||||||||
| 31 | |||||||||||
| 32 | 1 | ▶ | sub get_file_data { | ||||||||
|
Subroutine
get_file_data: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 33 | 1 | my $self = shift; | |||||||||
| 34 | 1 | return $self->{'_file_data'}; | |||||||||
| 35 | } | ||||||||||
| 36 | |||||||||||
| 37 | 3 | 1; | |||||||||
| 38 | __END__ | ||||||||||