Skip to content

Commit abb19a5

Browse files
committed
Add "extension"
1 parent da6c654 commit abb19a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

S16-io.pod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ order):
311311
catpath create a path from volume/directories/filename
312312
curdir the path to the current directory (usually '.')
313313
devnull the path to the bit bucket (on Unixy systems '/dev/null')
314+
extension the extension of the path
314315
is-absolute whether the path is absolute
315316
join create a path from hash with volume/directories/filename
316317
PATH %ENV<PATH> interpreted as paths
@@ -357,6 +358,7 @@ The following methods are also provided (in alphabetical order):
357358
contents files in path (if dir)
358359
copy create a copy of file
359360
directory the directory part of the absolute path
361+
extension the extension of the file
360362
is-absolute is the (original) path absolute
361363
is-relative is the (original) path relative
362364
lines contents of file as lines

0 commit comments

Comments
 (0)