io.pathnames vocabulary
Factor handbook > Vocabulary index


Documentation
Pathnames

Meta-data
Authors:Slava Pestov, Doug Coleman


Words

Tuple classes
ClassSuperclassSlots
no-parent-directory tuplepath
pathname tuplestring


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


Symbol words
current-directory


Ordinary words
WordStack effect
<pathname>( string -- pathname )
absolute-path?( path -- ? )
append-path( path1 path2 -- path )
append-relative-path( path1 path2 -- path )
file-extension( path -- extension )
file-name( path -- string )
file-stem( path -- stem )
last-path-separator( path -- n ? )
no-parent-directory( path -- * )
parent-directory( path -- parent )
path-components( path -- seq )
path-separator( -- string )
path-separator?( ch -- ? )
prepend-path( path1 path2 -- path )
resource-path( path -- newpath )
trim-head-separators( string -- string' )
trim-tail-separators( string -- string' )


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


Files


Children
VocabularySummary
io.pathnames.privateio.pathnames.private vocabulary