io.pathnames vocabulary
Factor handbook ยป Vocabulary index


Documentation
Pathnames

Metadata
Parents:io
Authors:Slava Pestov, Doug Coleman


Words

Tuple classes
ClassSuperclassSlots
no-parent-directory tuplepath
pathname tuplestring


Generic words
WordStack effect
absolute-path( path -- path' )
canonicalize-drive( path -- path' )
canonicalize-path( path -- path' )
canonicalize-path-full( path -- path' )
home( -- dir )
relative-path( path -- path' )
resolve-symlinks( path -- path' )
root-directory?( path -- ? )
root-path( path -- path' )
vocab-path( path -- newpath )


Symbol words
current-directory


Ordinary words
WordStack effect
3append-path( path chunk1 chunk2 -- path' )
<pathname>( string -- pathname )
>pathname( obj -- pathname )
>windows-path( path -- path' )
absolute-path?( path -- ? )
append-path( path1 path2 -- path )
append-relative-path( path1 path2 -- path )
canonicalize-path*( path -- path' )
cross-platform-path-separator( -- value )
file-extension( path -- extension )
file-name( path -- string )
file-stem( path -- stem )
has-file-extension?( path -- ? )
home-path( path -- newpath )
last-path-separator( path -- n ? )
no-parent-directory( path -- * )
parent-directory( path -- parent )
path-components( path -- seq )
path-separator( -- string )
path-separator?( ch -- ? )
pathname>( pathname -- obj )
prepend-path( path1 path2 -- path )
relative-path*( path -- relative-path )
resource-path( path -- newpath )
root-path*( path -- path' )
site-resource-path( path -- newpath )
trim-head-separators( string -- string' )
trim-tail-separators( string -- string' )
user-resource-path( path -- newpath )


Class predicate words
WordStack effect
no-parent-directory?( object -- ? )
pathname?( object -- ? )


Files


Metadata files