urbit/gen/ls.hoon
Philip C Monk 7268164eba Merge remote-tracking branch 'arvo/master' into HEAD
Conflicts:
	app/hood.hoon
	arvo/ford.hoon
	gen/cat.hoon
	gen/ls.hoon
	gen/ls/subdir.hoon
2016-02-18 18:52:34 -05: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))]~