find-file-in-directories ( directories quot: ( ... name -- ... ? ) -- path'/f )
Factor handbook » Input and output » Directory manipulation » Searching directories

Prev:find-files ( path quot: ( ... name -- ... ? ) -- paths )
Next:find-files-in-directories ( directories quot: ( ... name -- ... ? ) -- paths/f )


Vocabulary
io.directories

Inputs
directoriesa sequence of pathnames
quota quotation


Outputs
path'/fpathname string or f


Word description
Finds the first file in the input directories matching the predicate quotation, in a breadth-first or depth-first traversal-method.

See also
find-file, find-files, find-files-in-directories

Definition