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