io.directories vocabulary
Factor handbook > Vocabulary index


Documentation
Directory manipulation

Meta-data
Authors:Slava Pestov, Doug Coleman


Words

Tuple classes
ClassSuperclassSlots
directory-entry tuplename type


Generic words
WordStack effect
(directory-entries)( path -- seq )
copy-file( from to -- )
delete-directory( path -- )
delete-file( path -- )
make-directory( path -- )
move-file( from to -- )
touch-file( path -- )


Ordinary words
WordStack effect
<directory-entry>( name type -- directory-entry )
?delete-file( path -- )
copy-file-into( from to -- )
copy-files-into( files to -- )
directory-entries( path -- seq )
directory-files( path -- seq )
make-directories( path -- )
make-parent-directories( filename -- filename )
move-file-into( from to -- )
move-files-into( files to -- )
qualified-directory-entries( path -- seq )
qualified-directory-files( path -- seq )
set-current-directory( path -- )
to-directory( from to -- from to' )
with-directory( path quot -- )
with-directory-entries( path quot -- )
with-directory-files( path quot -- )
with-qualified-directory-entries( path quot -- )
with-qualified-directory-files( path quot -- )
with-resource-directory( quot -- )


Class predicate words
WordStack effect
directory-entry?( object -- ? )


Files


Children from resource:basis
VocabularySummary
io.directories.hierarchyDeleting and copying directory hierarchies
io.directories.searchRecursive directory traversal
io.directories.unixio.directories.unix vocabulary
io.directories.windowsio.directories.windows vocabulary