Handbook
Glossary
expand-resource ( resource-path -- filenames )
Vocabulary
vocabs
.
metadata
.
resources
Inputs
resource-path
an
object
Outputs
filenames
an
object
Definition
USING:
io.directories
io.files.info
kernel
sequences
;
IN:
vocabs.metadata.resources
:
expand-resource
( resource-path -- filenames )
dup
dup
file-info
directory?
[
recursive-directory-files
]
[
drop
{
}
]
if
swap
prefix
;