Handbook
Glossary
qualified-directory-files ( path -- seq )
Factor handbook
»
Input and output
»
Directory manipulation
»
Directory listing
Prev:
qualified-directory-entries ( path -- seq )
Vocabulary
io
.
directories
Inputs
path
a pathname string
Outputs
seq
a sequence of filenames
Word description
Outputs the contents of a directory named by
path
as a sequence of relative paths.
Definition
USING:
io.pathnames
kernel
sequences
;
IN:
io.directories
:
qualified-directory-files
( path -- seq )
dup
directory-files
[
append-path
]
with
map!
;