urbit/base/cat/ls.hoon
2015-06-04 15:16:48 -07:00

12 lines
190 B
Plaintext

:: LiSt directory subnodes
::
:::: /hook/gate/ls/cat
::
// /%/subdir
!:
::::
::
|= [^ [arg=path ~] ~]
=+ lon=((hard arch) .^(%cy arg))
tang/[?~(r.lon leaf/"~" (subdir arg r.lon))]~