diff --git a/core/io/files/files.factor b/core/io/files/files.factor index 03bcb77731..3a01cc7d82 100755 --- a/core/io/files/files.factor +++ b/core/io/files/files.factor @@ -2,8 +2,8 @@ ! See http://factorcode.org/license.txt for BSD license. IN: io.files USING: io.backend io.files.private io hashtables kernel math -memory namespaces sequences strings arrays definitions system -combinators splitting ; +memory namespaces sequences strings assocs arrays definitions +system combinators splitting ; HOOK: io-backend ( path -- stream ) @@ -140,3 +140,20 @@ HOOK: binary-roots io-backend ( -- seq ) : find-binary ( str -- path/f ) binary-roots swap find-file ; + + + +: walk-dir ( path -- seq ) [ (walk-dir) ] { } make ;