urbit/gen/ls.hoon
2016-11-16 17:42:58 -08:00

15 lines
235 B
Plaintext

:: LiSt directory subnodes
::
:::: /hoon/ls/gen
::
/? 310
// /%/subdir
::
::::
::
~& %
:- %say
|= {^ {arg/path $~} vane/?($c $g)}
=+ lon=.^(arch (cat 3 vane %y) arg)
tang+[?~(dir.lon leaf+"~" (subdir vane arg dir.lon))]~