Skip to content

Commit 55471e9

Browse files
committed
Start IO::Spec docs
1 parent 744bf16 commit 55471e9

File tree

1 file changed

+95
-0
lines changed

1 file changed

+95
-0
lines changed

lib/Type/IO/Spec.pod

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
=begin pod
2+
3+
=TITLE class IO::Spec
4+
5+
=SUBTITLE Platform specific operations on file and directory paths
6+
7+
class IO::Spec { }
8+
9+
=head2 method canonpath
10+
11+
method canonpath( $patharg, :$parent --> Str)
12+
13+
=head2 method dir-sep
14+
15+
method dir-sep
16+
17+
=head2 method curdir
18+
19+
method curdir
20+
21+
=head2 method updir
22+
23+
method updir
24+
25+
=head2 method curupdir
26+
27+
method curupdir
28+
29+
=head2 method rootdir
30+
31+
method rootdir
32+
33+
=head2 method devnull
34+
35+
method devnull
36+
37+
=head2 method basename
38+
39+
method basename(\path)
40+
41+
=head2 method extension
42+
43+
method extension(\path)
44+
45+
=head2 method tmpdir
46+
47+
method tmpdir
48+
49+
=head2 method is-absolute
50+
51+
method is-absolute( $file )
52+
53+
=head2 method path
54+
55+
method path
56+
57+
=head2 method splitpath
58+
59+
method splitpath( $path, :$nofile = False )
60+
61+
=head2 method split
62+
63+
method split (Cool:D $path is copy )
64+
65+
=head2 method join
66+
67+
method join ($, $dirname, $file)
68+
69+
=head2 method catpath
70+
71+
method catpath( $, $dirname, $file )
72+
73+
=head2 method catdir
74+
75+
method catdir( *@parts )
76+
77+
=head2 method splitdir
78+
79+
method splitdir( $path )
80+
81+
=head2 method catfile
82+
83+
method catfile( |c )
84+
85+
=head2 method abs2rel
86+
87+
method abs2rel( $path is copy, $base is copy = Str )
88+
89+
=head2 method rel2abs
90+
91+
method rel2abs( $path, $base? is copy)
92+
93+
=end pod
94+
95+
# vim: expandtab shiftwidth=4 ft=perl6

0 commit comments

Comments
 (0)