Skip to content

Commit 955864e

Browse files
committed
Fix handles_path() docs after handles_file() rename
1 parent 1e81450 commit 955864e

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

lib/Archive/SCS/Directory.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ I<Since version 1.06.>
187187
188188
=head2 handles_path
189189
190-
$bool = Archive::SCS::Directory->handles_path($path, $header);
190+
$bool = Archive::SCS::Directory->handles_path($path_tiny, $header);
191191
192192
=head2 list_dirs
193193

lib/Archive/SCS/HashFS.pm

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,9 +322,14 @@ Hash values used with this module must be in the internal format
322322
323323
$bool = $archive->is_mounted;
324324
325-
=head2 handles_file
325+
=head2 handles_path
326326
327-
$bool = Archive::SCS::HashFS->handles_file($fh, $header);
327+
$bool = Archive::SCS::HashFS->handles_path($path_tiny, $header);
328+
329+
I<Since version 1.06.>
330+
331+
In version 1.05 and earlier, there was an equivalent C<handles_file($fh, $header)>
332+
method, which is now deprecated.
328333
329334
=head2 list_dirs
330335

lib/Archive/SCS/HashFS2.pm

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,9 +445,14 @@ Hash values used with this module must be in the internal format
445445
446446
$bool = $archive->is_mounted;
447447
448-
=head2 handles_file
448+
=head2 handles_path
449449
450-
$bool = Archive::SCS::HashFS2->handles_file($fh, $header);
450+
$bool = Archive::SCS::HashFS2->handles_path($path_tiny, $header);
451+
452+
I<Since version 1.06.>
453+
454+
In version 1.05 and earlier, there was an equivalent C<handles_file($fh, $header)>
455+
method, which is now deprecated.
451456
452457
=head2 list_dirs
453458

lib/Archive/SCS/Zip.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ Hash values used with this module must be in the internal format
253253
254254
=head2 handles_path
255255
256-
$bool = Archive::SCS::Zip->handles_file($fh, $header);
256+
$bool = Archive::SCS::Zip->handles_path($path_tiny, $header);
257257
258258
=head2 list_dirs
259259

0 commit comments

Comments
 (0)