Handbook
Glossary
find-files ( path quot: ( ... name -- ... ? ) -- paths )
Factor handbook
»
Input and output
»
Directory manipulation
»
Searching directories
Prev:
find-file ( path quot: ( ... name -- ... ? ) -- path/f )
Next:
find-file-in-directories ( directories quot: ( ... name -- ... ? ) -- path'/f )
Vocabulary
io
.
directories
Inputs
path
a pathname string
quot
a
quotation
Outputs
paths
a
sequence
of pathname strings
Word description
Recursively finds all files in the input directory matching the predicate quotation, in a breadth-first or depth-first
traversal-method
.
See also
find-file
,
find-file-in-directories
,
find-files-in-directories
Definition
USING:
kernel
sequences
;
IN:
io.directories
:
find-files
( path quot: ( ... name -- ... ? ) -- paths )
selector
[
each-file
]
dip
;
inline