urbit/gen/ls.hoon
C. Guy Yarvin fc1068dfae Revert "Stripdown part 2."
This reverts commit afcc1cb9a80db3a687d7a2a1dc3bf1be38df5b68.
2016-01-25 16:52:58 -08:00

13 lines
200 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))]~