urbit/gen/ls.hoon
2016-02-16 17:40:32 -08:00

14 lines
201 B
Plaintext

:: LiSt directory subnodes
::
:::: /hoon/ls/gen
::
/? 310
// /%/subdir
!:
::::
::
:- %say
|= {^ {arg/path $~} $~}
=+ lon=.^(arch %cy arg)
tang+[?~(dir.lon leaf+"~" (subdir arg dir.lon))]~