glob-pattern% ( root globs -- )


Vocabulary
globs.private

Inputs
rootan object
globsan object


Outputs
None

Definition


:: glob-pattern% ( root globs -- )
globs unclip second :> ( remaining glob ) root glob-entries
[| entry |
entry name>> >case-fold glob matches?
[ root entry name>> append-path remaining entry ?glob% ]
when
] each ;