urbit/gen/ls.hoon
2015-09-11 17:24:51 -07:00

13 lines
198 B
Plaintext

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