urbit/gen/ls.hoon
2016-02-11 16:33:21 -08:00

14 lines
210 B
Plaintext

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