Dir/Entry.pm

filter: Statementstmt 88.0% 147 / 167 Branchbran 65.7% 25 / 38 Conditioncond 50.0% 6 / 12 MC/DCmcdc 14.2% 1 / 7 Subroutinesub 92.5% 25 / 27 Podpod 100% 17 / 17 totaltotal 82.4% 221 / 268 CC 26 SCAR 12.2
CC
26
Cov
82%
_data_to_bytes
7.1
print_entry
6.0
get_side_sector
6.0
CRAP 3.4
« Dir.pm ↑ Summary Dir/Iterator.pm »
1 package D64::Disk::Dir::Entry;
2  
3 =head1 NAME
4  
5 D64::Disk::Dir::Entry - Handling individual Commodore (D64/D71/D81) disk image directory entries
6  
7 =head1 SYNOPSIS
8  
9 use D64::Disk::Dir::Entry;
10  
11 # Create a new directory entry and initialize it with 30 bytes of binary data retrieved from a D64 disk image:
12 my $entryObj = D64::Disk::Dir::Entry->new($bytes);
13  
14 # Get filename converted to ASCII string:
15 my $convert2ascii = 1;
16 my $name = $entryObj->get_name($convert2ascii);
17  
18 # Get various parameters describing detailed entry properties:
19 my $type = $entryObj->get_type();
20 my $track = $entryObj->get_track();
21 my $sector = $entryObj->get_sector();
22  
23 # Print out a single line out of entire disk directory with the contents of this particular entry to the standard output:
24 $entryObj->print_entry();
25  
26 =head1 DESCRIPTION
27  
28 This package provides a helper class for D64::Disk::Dir module, enabling user to handle individual directory entries in a higher-level object-oriented way.
29  
30 =head1 METHODS
31  
32 =cut
33  
34 4 ▶use bytes;
Subroutine BEGIN: called CC=1 SCAR=0.0
35 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
36 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
37  
38 4 our $VERSION = '0.06';
39  
40 4 ▶use Carp qw/carp croak verbose/;
Subroutine BEGIN: called CC=1 SCAR=0.0
41 4 ▶use Data::Dumper;
Subroutine BEGIN: called CC=1 SCAR=0.0
42  
43 4 ▶use D64::Disk::Image qw(:all);
Subroutine BEGIN: called CC=1 SCAR=0.0
44 4 ▶use D64::Disk::Dir;
Subroutine BEGIN: called CC=1 SCAR=0.0
45  
46 # File type names:
47 4 our @file_types = qw/del seq prg usr rel cbm dir ???/;
48  
49 =head2 new
50  
51 Create new C<D64::Disk::Dir::Entry> object and initialize it with 30 bytes of binary data describing each directory entry on a D64 disk image (or a physical disk):
52  
53 my $entryObj = D64::Disk::Dir::Entry->new($bytes);
54  
55 The reason for initializing object not with 32 bytes of physical data but with 30 bytes instead is that two first bytes of each entry in a directory sector always should be $00 $00 as they are unused (except for the very first entry, in which case those bytes are still directory-wide, not entry-specific).
56  
57 A valid C<D64::Disk::Dir::Entry> object is returned upon success, an undefined value otherwise.
58  
59 =cut
60  
61 103 ▶sub new {
Subroutine new: called CC=3 SCAR=11.8
Pod documented
62 103 my $this = shift;
63 103 ▶ my $class = ref($this) || $this;
Condition33%1/3
ref $this || $this
l!l&&r!l&&!r
01030
MC/DC0%0/2
ref $this || $this
ref $this $this
Truth table33%1/3
A || B
A= ref $thisB= $this
ABresult
1X1
011
000
64 103 my $self = {};
65 103 bless $self, $class;
66 103 my $initOK = $self->_initialize(@_);
67 103 ▶ if ($initOK) {
Branch: 1 branch
BranchTrueFalseTotal
if ($initOK) { } 103 0 103
68 103 return $self;
69 }
70 else {
71 0 return undef;
72 }
73 }
74  
75 103 ▶sub _initialize {
Subroutine _initialize: called CC=3 SCAR=12.0
76 103 my $self = shift;
77 103 my $bytes = shift;
78 # Verify valid bytes sequence:
79 103 ▶ unless (length $bytes == 30) {
Branch: 1 branch
BranchTrueFalseTotal
unless (length $bytes == 30) 0 103 103
80 0 carp 'Initializing D64::Disk::Dir::Entry object with invalid bytes sequence (exactly 30 bytes of binary data retrieved from a physical device are required to initialize it)';
81 0 return 0;
82 }
83 103 my $convertOK = $self->_bytes_to_data($bytes);
84 103 ▶ return 0 unless $convertOK;
Branch: 1 branch
BranchTrueFalseTotal
unless $convertOK 0 103 103
85 103 return 1;
86 }
87  
88 103 ▶sub _bytes_to_data {
Subroutine _bytes_to_data: called CC=2 SCAR=7.1
89 103 my $self = shift;
90 103 my $bytes = shift;
91 # Get file type:
92 103 my $file_type = ord (substr $bytes, 0x00, 0x01);
93 # Get the actual filetype:
94 103 my $type = $file_type & 7;
95 # Get closed flag (not set produces "*", or "splat" files):
96 103 my $closed = $file_type & 0x80;
97 # Get locked flag (set produces ">" locked files):
98 103 my $locked = $file_type & 0x40;
99 # Get track/sector location of first sector of file:
100 103 my $track = ord (substr $bytes, 0x01, 0x01);
101 103 my $sector = ord (substr $bytes, 0x02, 0x01);
102 # Get 16 character filename (in PETASCII, padded with $A0):
103 103 my $rawname = substr $bytes, 0x03, 0x10;
104 103 my $name = D64::Disk::Image->name_from_rawname($rawname);
105 103 my ($side_track, $side_sector, $record_length) = ();
106 103 ▶ if ($file_types[$type] eq 'rel') {
Branch: 1 branch
BranchTrueFalseTotal
if ($D64::Disk::Dir::Entry::file_types[$type] eq "rel") 0 103 103
107 # Get track/sector location of first side-sector block (REL file only):
108 0 $side_track = ord (substr $bytes, 0x13, 0x01);
109 0 $side_sector = ord (substr $bytes, 0x14, 0x01);
110 # Get REL file record length (REL file only, maximum value 254):
111 0 $record_length = ord (substr $bytes, 0x15, 0x01);
112 }
113 # Get file size in sectors, low/high byte order ($1C+$1D*256):
114 103 my $size = ord (substr $bytes, 0x1D, 0x01) << 8 | ord (substr $bytes, 0x1C, 0x01);
115 # Store directory entry details in a hash:
116 103 my $dirEntry = {
117 'TYPE' => $type,
118 'CLOSED' => $closed,
119 'LOCKED' => $locked,
120 'TRACK' => $track,
121 'SECTOR' => $sector,
122 'NAME' => $name,
123 'SIDE_TRACK' => $side_track,
124 'SIDE_SECTOR' => $side_sector,
125 'RECORD_LENGTH' => $record_length,
126 'SIZE' => $size,
127 };
128 103 $self->{'DETAILS'} = $dirEntry;
129 103 return 1;
130 }
131  
132 2 ▶sub _data_to_bytes {
Subroutine _data_to_bytes: called CC=7 SCAR=19.6
133 2 my $self = shift;
134 2 my @bytes = ();
135 # Get detailed file information stored within this object instance:
136 2 my $dirEntry = $self->{'DETAILS'};
137 2 my $type = $dirEntry->{'TYPE'};
138 2 my $closed = $dirEntry->{'CLOSED'};
139 2 my $locked = $dirEntry->{'LOCKED'};
140 2 my $track = $dirEntry->{'TRACK'};
141 2 my $sector = $dirEntry->{'SECTOR'};
142 2 my $name = $dirEntry->{'NAME'};
143 2 ▶ my $side_track = $dirEntry->{'SIDE_TRACK'} || 0x00;
Condition50%1/2
$dirEntry->{'SIDE_TRACK'} || 0
l!l
02
MC/DC0%0/1
$dirEntry->{'SIDE_TRACK'} || 0
$dirEntry->{'SIDE_TRACK'}
Truth table50%1/2
A
A= $dirEntry->{'SIDE_TRACK'}
Aresult
11
00
144 2 ▶ my $side_sector = $dirEntry->{'SIDE_SECTOR'} || 0x00;
Condition50%1/2
$dirEntry->{'SIDE_SECTOR'} || 0
l!l
02
MC/DC0%0/1
$dirEntry->{'SIDE_SECTOR'} || 0
$dirEntry->{'SIDE_SECTOR'}
Truth table50%1/2
A
A= $dirEntry->{'SIDE_SECTOR'}
Aresult
11
00
145 2 ▶ my $record_length = $dirEntry->{'RECORD_LENGTH'} || 0x00;
Condition50%1/2
$dirEntry->{'RECORD_LENGTH'} || 0
l!l
02
MC/DC0%0/1
$dirEntry->{'RECORD_LENGTH'} || 0
$dirEntry->{'RECORD_LENGTH'}
Truth table50%1/2
A
A= $dirEntry->{'RECORD_LENGTH'}
Aresult
11
00
146 2 my $size = $dirEntry->{'SIZE'};
147 # Byte $00 - File type:
148 2 ▶ $bytes[0x00] = chr ($type | ($locked ? 0x40 : 0x00) | ($closed ? 0x80 : 0x00));
Branch: 2 branches
BranchTrueFalseTotal
$locked ? : 0 2 2
$closed ? : 2 0 2
149 # Byte $01 - Track location of first sector of file:
150 2 $bytes[0x01] = chr ($track);
151 # Byte $02 - Sector location of first sector of file:
152 2 $bytes[0x02] = chr ($sector);
153 # Bytes $03..$12 - 16 character filename (in PETASCII, padded with $A0):
154 2 my $rawname = D64::Disk::Image->rawname_from_name($name);
155 2 my $i = 0x03;
156 2 foreach my $byte (split //, $rawname) {
157 32 $bytes[$i++] = $byte;
158 }
159 # Bytes $13..$14 - Track/Sector location of first side-sector block:
160 2 $bytes[0x13] = chr ($side_track);
161 2 $bytes[0x14] = chr ($side_sector);
162 # Byte $15 - REL file record length:
163 2 $bytes[0x15] = chr ($record_length);
164 # Bytes $16..$1B - Unused
165 2 $bytes[0x16] = chr 0x00;
166 2 $bytes[0x17] = chr 0x00;
167 2 $bytes[0x18] = chr 0x00;
168 2 $bytes[0x19] = chr 0x00;
169 2 $bytes[0x1A] = chr 0x00;
170 2 $bytes[0x1B] = chr 0x00;
171 # Bytes $1C..$1D - File size in sectors, low/high byte order ($1C+$1D*256):
172 2 $bytes[0x1C] = chr ($size & 0xFF);
173 2 $bytes[0x1D] = chr (($size >> 8) & 0xFF);
174 2 my $bytes = join '', @bytes;
175 2 return $bytes;
176 }
177  
178 =head2 get_type
179  
180 Get the actual filetype:
181  
182 my $type = $entryObj->get_type();
183  
184 Returns the actual filetype as a three-letter string, the possibilities here are: "del", "seq", "prg", "usr", "rel", "cbm", "dir", and "???".
185  
186 =cut
187  
188 32 ▶sub get_type {
Subroutine get_type: called CC=1 SCAR=0.0
Pod documented
189 32 my $self = shift;
190 32 my $type = $self->{'DETAILS'}->{'TYPE'};
191 32 my $file_type = $file_types[$type];
192 32 return $file_type;
193 }
194  
195 =head2 set_type
196  
197 Set the actual filetype:
198  
199 my $type = T_DEL;
200 $entryObj->set_type($type);
201  
202 Sets the actual filetype as a symbollic type name, the possibilities here are: C<T_DEL>, C<T_SEQ>, C<T_PRG>, C<T_USR>, C<T_REL>, C<T_CBM>, and C<T_DIR>.
203  
204 =cut
205  
206 2 ▶sub set_type {
Subroutine set_type: called CC=2 SCAR=6.9
Pod documented
207 2 my ($self, $type) = @_;
208 2 ▶ croak "An illegal file type: ${type}" unless grep { $type == $_ } values %D64::Disk::Dir::file_type_constants;
Branch: 1 branch
BranchTrueFalseTotal
unless grep {$type == $_;} values %D64::Disk::Dir::file_type_constants 1 1 2
209 1 $self->{'DETAILS'}->{'TYPE'} = $type;
210 1 return $type;
211 }
212  
213 =head2 get_closed
214  
215 Get "Closed" flag (when not set produces "*", or "splat" files):
216  
217 my $closed = $entryObj->get_closed();
218  
219 Returns true when "Closed" flag is set, and false otherwise.
220  
221 =cut
222  
223 22 ▶sub get_closed {
Subroutine get_closed: called CC=2 SCAR=6.9
Pod documented
224 22 my $self = shift;
225 22 my $closed = $self->{'DETAILS'}->{'CLOSED'};
226 22 ▶ return $closed ? 1 : 0;
Branch: 1 branch
BranchTrueFalseTotal
$closed ? : 19 3 22
227 }
228  
229 =head2 set_closed
230  
231 Set "Closed" flag:
232  
233 $entryObj->set_closed(1);
234  
235 Clear "Closed" flag:
236  
237 $entryObj->set_closed(0);
238  
239 =cut
240  
241 3 ▶sub set_closed {
Subroutine set_closed: called CC=3 SCAR=11.0
Pod documented
242 3 my ($self, $closed) = @_;
243 3 ▶ croak "An illegal closed flag: ${closed}" unless $closed == 0 || $closed == 1;
Branch: 1 branch
BranchTrueFalseTotal
unless $closed == 0 or $closed == 1 1 2 3
Condition66%2/3
$closed == 0 or $closed == 1
l!l&&r!l&&!r
201
MC/DC50%1/2
$closed == 0 or $closed == 1
$closed == 0 $closed == 1
Truth table66%2/3
A or B
A= $closed == 0B= $closed == 1
ABresult
1X1
011
000
244 2 $self->{'DETAILS'}->{'CLOSED'} = $closed;
245 2 return $closed;
246 }
247  
248 =head2 get_locked
249  
250 Get "Locked" flag (when set produces ">" locked files):
251  
252 my $locked = $entryObj->get_locked();
253  
254 Returns true when "Locked" flag is set, and false otherwise.
255  
256 =cut
257  
258 15 ▶sub get_locked {
Subroutine get_locked: called CC=2 SCAR=7.1
Pod documented
259 15 my $self = shift;
260 15 my $locked = $self->{'DETAILS'}->{'LOCKED'};
261 15 ▶ return $locked ? 1 : 0;
Branch: 1 branch
BranchTrueFalseTotal
$locked ? : 0 15 15
262 }
263  
264 =head2 get_track
265  
266 Get track location of first sector of file:
267  
268 my $track = $entryObj->get_track();
269  
270 =cut
271  
272 24 ▶sub get_track {
Subroutine get_track: called CC=1 SCAR=0.0
Pod documented
273 24 my $self = shift;
274 24 my $track = $self->{'DETAILS'}->{'TRACK'};
275 24 return $track;
276 }
277  
278 =head2 set_track
279  
280 Set track location of first sector of file:
281  
282 $entryObj->get_track($track);
283  
284 =cut
285  
286 1 ▶sub set_track {
Subroutine set_track: called CC=1 SCAR=0.0
Pod documented
287 1 my ($self, $track) = @_;
288 1 $self->{'DETAILS'}->{'TRACK'} = $track;
289 1 return $track;
290 }
291  
292 =head2 get_sector
293  
294 Get sector location of first sector of file:
295  
296 my $sector = $entryObj->get_sector();
297  
298 =cut
299  
300 24 ▶sub get_sector {
Subroutine get_sector: called CC=1 SCAR=0.0
Pod documented
301 24 my $self = shift;
302 24 my $sector = $self->{'DETAILS'}->{'SECTOR'};
303 24 return $sector;
304 }
305  
306 =head2 set_sector
307  
308 Set sector location of first sector of file:
309  
310 $entryObj->set_sector($sector);
311  
312 =cut
313  
314 1 ▶sub set_sector {
Subroutine set_sector: called CC=1 SCAR=0.0
Pod documented
315 1 my ($self, $sector) = @_;
316 1 $self->{'DETAILS'}->{'SECTOR'} = $sector;
317 1 return $sector;
318 }
319  
320 =head2 get_name
321  
322 Get 16 character filename (in PETASCII, padded with $A0):
323  
324 my $convert2ascii = 0;
325 my $name = $entryObj->get_name($convert2ascii);
326  
327 Get filename converted to ASCII string:
328  
329 my $convert2ascii = 1;
330 my $name = $entryObj->get_name($convert2ascii);
331  
332 =cut
333  
334 21 ▶sub get_name {
Subroutine get_name: called CC=2 SCAR=6.9
Pod documented
335 21 my $self = shift;
336 21 my $convert2ascii = shift;
337 21 my $name = $self->{'DETAILS'}->{'NAME'};
338 21 ▶ $name = D64::Disk::Image->petscii_to_ascii($name) if $convert2ascii;
Branch: 1 branch
BranchTrueFalseTotal
if $convert2ascii 15 6 21
339 21 return $name;
340 }
341  
342 =head2 get_side_track
343  
344 Get track location of first side-sector block (relative file only):
345  
346 my $side_track = $entryObj->get_side_track();
347  
348 A track location of first side-sector block is returned upon success, an undefined value otherwise.
349  
350 =cut
351  
352 1 ▶sub get_side_track {
Subroutine get_side_track: called CC=2 SCAR=7.9
Pod documented
353 1 my $self = shift;
354 1 ▶ if ($self->get_type() ne 'rel') {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->get_type ne "rel") 1 0 1
355 1 carp "Unable to get track location of first side-sector block (not a REL file!)";
356 1 return undef;
357 }
358 0 my $side_track = $self->{'DETAILS'}->{'SIDE_TRACK'};
359 0 return $side_track;
360 }
361  
362 =head2 get_side_sector
363  
364 Get sector location of first side-sector block (relative file only):
365  
366 my $side_sector = $entryObj->get_side_sector();
367  
368 A sector location of first side-sector block is returned upon success, an undefined value otherwise.
369  
370 =cut
371  
372 0 ▶sub get_side_sector {
Subroutine get_side_sector: not called CC=2 SCAR=17.9
Pod documented
373 0 my $self = shift;
374 0 ▶ if ($self->get_type() ne 'rel') {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->get_type ne "rel") 0 0 0
375 0 carp "Unable to get sector location of first side-sector block (not a REL file!)";
376 0 return undef;
377 }
378 0 my $side_sector = $self->{'DETAILS'}->{'SIDE_SECTOR'};
379 0 return $side_sector;
380 }
381  
382 =head2 get_record_length
383  
384 Get relative file record length (relative file only, maximum value 254):
385  
386 my $record_length = $entryObj->get_record_length();
387  
388 A relative file record length is returned upon success, an undefined value otherwise.
389  
390 =cut
391  
392 0 ▶sub get_record_length {
Subroutine get_record_length: not called CC=2 SCAR=17.9
Pod documented
393 0 my $self = shift;
394 0 ▶ if ($self->get_type() ne 'rel') {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->get_type ne "rel") 0 0 0
395 0 carp "Unable to get relative file record length (not a REL file!)";
396 0 return undef;
397 }
398 0 my $record_length = $self->{'DETAILS'}->{'RECORD_LENGTH'};
399 0 return $record_length;
400 }
401  
402 =head2 get_size
403  
404 Get file size in sectors:
405  
406 my $size = $entryObj->get_size();
407  
408 The approximate filesize in bytes is <= #sectors * 254.
409  
410 =cut
411  
412 18 ▶sub get_size {
Subroutine get_size: called CC=1 SCAR=0.0
Pod documented
413 18 my $self = shift;
414 18 my $size = $self->{'DETAILS'}->{'SIZE'};
415 18 return $size;
416 }
417  
418 =head2 get_bytes
419  
420 Get 30 bytes of binary data that would describe this particular directory entry on a D64 disk image (or a physical disk):
421  
422 my $bytes = $entryObj->get_bytes();
423  
424 =cut
425  
426 2 ▶sub get_bytes {
Subroutine get_bytes: called CC=1 SCAR=0.0
Pod documented
427 2 my $self = shift;
428 2 my $bytes = $self->_data_to_bytes();
429 2 return $bytes;
430 }
431  
432 =head2 print_entry
433  
434 Print entry details to any opened file handle (the standard output by default):
435  
436 $entryObj->print_entry($fh, { verbose => $verbose });
437  
438 This method is subsequently invoked for each single entry while printing an entire directory with D64::Disk::Dir module.
439  
440 C<verbose> defaults to false (changing it to true will additionally print out file's track and sector values).
441  
442 =cut
443  
444 14 ▶sub print_entry {
Subroutine print_entry: called CC=6 SCAR=17.9
Pod documented
445 14 my ($self, $fh, $args) = @_;
446 14 ▶ $fh = *STDOUT unless defined $fh;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $fh 1 13 14
447 14 ▶ $args = {} unless defined $args;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $args 2 12 14
448 14 my $verbose = $args->{verbose};
449 # Get detailed file information stored within this object instance:
450 14 my $type = $self->get_type();
451 14 ▶ my $closed = $self->get_closed() ? ord ' ' : ord '*';
Branch: 1 branch
BranchTrueFalseTotal
$self->get_closed ? : 13 1 14
452 14 ▶ my $locked = $self->get_locked() ? ord '<' : ord ' ';
Branch: 1 branch
BranchTrueFalseTotal
$self->get_locked ? : 0 14 14
453 14 my $size = $self->get_size();
454 14 my $track = sprintf '%2d', $self->get_track();
455 14 my $sector = sprintf '%2d', $self->get_sector();
456 # Get filename convert to ASCII and add quotes:
457 14 my $name = $self->get_name(1);
458 14 my $quotename = sprintf "\"%s\"", $name;
459 # Print directory entry:
460 14 ▶ if ($verbose) {
Branch: 1 branch
BranchTrueFalseTotal
if ($verbose) { } 6 8 14
461 6 printf $fh "%-4d %-18s%c%s%c %s %s\n", $size, $quotename, $closed, $type, $locked, $track, $sector;
462 }
463 else {
464 8 printf $fh "%-4d %-18s%c%s%c\n", $size, $quotename, $closed, $type, $locked;
465 }
466 }
467  
468 =head1 BUGS
469  
470 There are no known bugs at the moment. Please report any bugs or feature requests.
471  
472 =head1 EXPORT
473  
474 None. No method is exported into the caller's namespace either by default or explicitly.
475  
476 =head1 SEE ALSO
477  
478 L<D64::Disk::Dir>, L<D64::Disk::Image>
479  
480 =head1 AUTHOR
481  
482 Pawel Krol, E<lt>pawelkrol@cpan.orgE<gt>.
483  
484 =head1 VERSION
485  
486 Version 0.06 (2023-08-28)
487  
488 =head1 COPYRIGHT AND LICENSE
489  
490 This module is licensed under a slightly modified BSD license, the same terms as Per Olofsson's "diskimage.c" library and L<D64::Disk::Image> Perl package it is based on, license contents are repeated below.
491  
492 Copyright (c) 2003-2006, Per Olofsson
493 All rights reserved.
494  
495 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
496  
497 =over
498  
499 =item *
500  
501 Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
502  
503 =item *
504  
505 Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
506  
507 =back
508  
509 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
510  
511 diskimage.c website: L<https://paradroid.automac.se/diskimage/>
512  
513 =cut
514  
515 4 1;
« Dir.pm ↑ Summary Dir/Iterator.pm »