Skip to content

Commit a30fae6

Browse files
committed
[io grant] Avoid potential confusion with use of word "object"
Where it does not refer to an OOP object
1 parent 372545c commit a30fae6

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

doc/Type/IO/Path.pod6

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -390,15 +390,15 @@ Returns C<True> if the invocant is a path that exists.
390390
391391
Returns C<True> if the invocant is a path that exists and is a directory.
392392
The method will L«C<fail>|/routine/fail» with C<X::IO::DoesNotExist> if the
393-
path points to a non-existent object.
393+
path points to a non-existent filesystem entity.
394394
395395
=head2 method f
396396
397397
method f(--> Bool:D)
398398
399399
Returns C<True> if the invocant is a path that exists and is a file.
400400
The method will L«C<fail>|/routine/fail» with C<X::IO::DoesNotExist> if the
401-
path points to a non-existent object.
401+
path points to a non-existent filesystem entity.
402402
403403
=head2 method s
404404
@@ -407,55 +407,55 @@ path points to a non-existent object.
407407
Returns the filesize in bytes. May be called on paths that are directories, in
408408
which case the reported size is dependant on the operating system.
409409
The method will L«C<fail>|/routine/fail» with C<X::IO::DoesNotExist> if the
410-
path points to a non-existent object.
410+
path points to a non-existent filesystem entity.
411411
412412
=head2 method l
413413
414414
method l(--> Bool:D)
415415
416416
Returns C<True> if the invocant is a path that exists and is a symlink.
417417
The method will L«C<fail>|/routine/fail» with C<X::IO::DoesNotExist> if the
418-
path points to a non-existent object.
418+
path points to a non-existent filesystem entity.
419419
420420
=head2 method r
421421
422422
method r(--> Bool:D)
423423
424424
Returns C<True> if the invocant is a path that exists and is accessible.
425425
The method will L«C<fail>|/routine/fail» with C<X::IO::DoesNotExist> if the
426-
path points to a non-existent object.
426+
path points to a non-existent filesystem entity.
427427
428428
=head2 method w
429429
430430
method w(--> Bool:D)
431431
432432
Returns C<True> if the invocant is a path that exists and is writable.
433433
The method will L«C<fail>|/routine/fail» with C<X::IO::DoesNotExist> if the
434-
path points to a non-existent object.
434+
path points to a non-existent filesystem entity.
435435
436436
=head2 method rw
437437
438438
method rw(--> Bool:D)
439439
440440
Returns C<True> if the invocant is a path that exists and is readable and
441441
writable. The method will L«C<fail>|/routine/fail» with C<X::IO::DoesNotExist>
442-
if the path points to a non-existent object.
442+
if the path points to a non-existent filesystem entity.
443443
444444
=head2 method x
445445
446446
method x(--> Bool:D)
447447
448448
Returns C<True> if the invocant is a path that exists and is executable.
449449
The method will L«C<fail>|/routine/fail» with C<X::IO::DoesNotExist> if the
450-
path points to a non-existent object.
450+
path points to a non-existent filesystem entity.
451451
452452
=head2 method rwx
453453
454454
method rwx(--> Bool:D)
455455
456456
Returns C<True> if the invocant is a path that exists and is executable,
457457
readable, and writable. The method will L«C<fail>|/routine/fail» with
458-
C<X::IO::DoesNotExist> if the path points to a non-existent object.
458+
C<X::IO::DoesNotExist> if the path points to a non-existent filesystem entity.
459459
460460
=head2 method z
461461
@@ -465,7 +465,8 @@ Returns C<True> if the invocant is a path that exists and has size of C<0>.
465465
May be called on paths that are directories, in
466466
which case the reported filesize (and thus the result of this method)
467467
is dependant on the operating system. The method will L«C<fail>|/routine/fail»
468-
with C<X::IO::DoesNotExist> if the path points to a non-existent object.
468+
with C<X::IO::DoesNotExist> if the path points to a non-existent filesystem
469+
entity.
469470
470471
=head2 routine slurp
471472

0 commit comments

Comments
 (0)