urbit/pkg/arvo/gen/hood/mount.hoon
2020-12-06 03:33:43 -08:00

18 lines
291 B
Plaintext

:: Kiln: Mount path to unix
::
:::: /hoon/mount/hood/gen
::
/? 310
::
::::
::
:- %say
|= $: [now=@da eny=@uvJ bec=beak]
[[pax=path pot=$@(~ [v=@tas ~])] ~]
==
?~ pot
=+ bem=(need (de-beam pax))
$(pot ~[?^(s.bem (rear s.bem) q.bem)])
:- %kiln-mount
[pax v.pot]