Skip to content

Commit 1f75ddc

Browse files
committed
[io grant] Document IO::Spec*.abs2rel
1 parent 24a6ea9 commit 1f75ddc

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

doc/Type/IO/Spec/Cygwin.pod6

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ C<$*SPEC> variable for a perl running on C<Cygwin> .
1111
1212
=head1 Methods
1313
14+
=head2 method abs2rel
15+
16+
method abs2rel(IO::Path:D $path, IO::Path:D $base = $*CWD --> Str:D)
17+
18+
Returns a string that represents C<$path>, but relative to C<$base> path.
19+
Both C<$path> and C<$base> may be relative paths C<$bar> defaults to C<$*CWD>.
20+
Uses L«C<IO::Spec::Win32>|/type/IO::Spec::Win32»'s semantics.
21+
1422
=head2 method tmpdir
1523
1624
Defined as:

doc/Type/IO/Spec/Unix.pod6

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ running on a Unix-like platform.
1111
1212
=head1 Methods
1313
14+
=head2 method abs2rel
15+
16+
method abs2rel(IO::Path:D $path, IO::Path:D $base = $*CWD --> Str:D)
17+
18+
Returns a string that represents C<$path>, but relative to C<$base> path.
19+
Both C<$path> and C<$base> may be relative paths C<$bar> defaults to C<$*CWD>
20+
1421
=head2 method tmpdir
1522
1623
Defined as:

0 commit comments

Comments
 (0)