| 1 | package Sys::Export::ISO9660::File; | ||||||||||||
| 2 | |||||||||||||
| 3 | 2 | our $VERSION = '0.006'; # VERSION | |||||||||||
| 4 | # ABSTRACT: Represents a file in ISO9660, including packed encodings of directories | ||||||||||||
| 5 | |||||||||||||
| 6 | 2 | ▶ | use v5.26; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 7 | 2 | ▶ | use warnings; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 8 | 2 | ▶ | use experimental qw( signatures ); | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 9 | 2 | ▶ | use parent 'Sys::Export::Extent'; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 10 | 2 | ▶ | use Sys::Export::ISO9660; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 11 | 2 | our @CARP_NOT= qw( Sys::Export::ISO9660 ); | |||||||||||
| 12 | |||||||||||||
| 13 | |||||||||||||
| 14 | 95 | ▶ | sub block_size($self) { 2048 } | ||||||||||
|
Subroutine
block_size: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||||
| 15 | 26 | ▶ | sub mtime($self, @v) { @v? ($self->{mtime}= $v[0]) : $self->{mtime} } | ||||||||||
|
Subroutine
mtime: called CC=2 SCAR=6.9
Pod
documented
Branch: 1 branch
| |||||||||||||
| 16 | 41 | ▶ | sub flags($self, @v) { @v? ($self->{flags}= $v[0]) : $self->{flags} } | ||||||||||
|
Subroutine
flags: called CC=2 SCAR=6.9
Pod
documented
Branch: 1 branch
| |||||||||||||
| 17 | 7 | ▶ | sub is_dir($self) { ($self->{flags}||0) & Sys::Export::ISO9660::FLAG_DIRECTORY() } | ||||||||||
|
Subroutine
is_dir: called CC=2 SCAR=7.6
Pod
documented
Condition50%1/2
$self->{'flags'} || 0
MC/DC0%0/1
$self->{'flags'} || 0
$self->{'flags'}
Truth table50%1/2
A
A= $self->{'flags'}
| |||||||||||||
| 18 | |||||||||||||
| 19 | 2 | 1; | |||||||||||
| 20 | |||||||||||||
| 21 | __END__ | ||||||||||||