Skip to content

Commit f45241f

Browse files
committed
[io grant] Document IO::Spec::*.rootdir
1 parent 2a7bd17 commit f45241f

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

doc/Type/IO/Spec/Unix.pod6

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,14 @@ are the same.
235235
# OUTPUT: «/home/camelia/bar/foo/../..␤»
236236
=end code
237237
238+
=head2 method rootdir
239+
240+
Defined as:
241+
242+
method rootdir(--> Str:D)
243+
244+
Returns string C<'/'>, representing root directory.
245+
238246
=head2 method split
239247
240248
Defined as:

doc/Type/IO/Spec/Win32.pod6

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,14 @@ are the same.
207207
# OUTPUT: «C:\Users\camelia\bar\foo\..\..␤»
208208
=end code
209209
210+
=head2 method rootdir
211+
212+
Defined as:
213+
214+
method rootdir(--> Str:D)
215+
216+
Returns string C<「\」>, representing root directory.
217+
210218
=head2 method split
211219
212220
Defined as:

0 commit comments

Comments
 (0)