urbit/cat/ls.hoon
2015-06-19 17:16:48 -04:00

12 lines
185 B
Plaintext

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