each-file ( ... path quot: ( ... name -- ... ) -- ... )
Searching directories

Prev:recursive-directory-entries ( path -- directory-entries )
Next:each-directory-entry ( path quot: ( ... entry -- ... ) -- )


Vocabulary
io.directories.search

Inputs and outputs
patha pathname string
quota quotation


Word description
Traverses a directory path recursively and calls the quotation on the full pathname of each file, in a breadth-first or depth-first traversal-method.

Examples
USING: sequences io.directories.search ; "resource:misc" [ . ] each-file
! Recursive directory listing prints here


Definition