each-file ( path bfs? quot -- )
Searching directories

Prev:recursive-directory-entries ( path bfs? -- directory-entries )
Next:find-file ( path bfs? quot: ( ... name -- ... ? ) -- path/f )


Vocabulary
io.directories.search

Inputs and outputs
patha pathname string
bfs?a boolean, breadth-first or depth-first
quota quotation


Word description
Performs a directory traversal, breadth-first or depth-first, and calls the quotation on the full pathname of each file.

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


Definition