mirror of
https://github.com/urbit/shrub.git
synced 2024-12-01 14:42:02 +03:00
use full beam
This commit is contained in:
parent
ce58d36f97
commit
4f475f8f93
@ -62,7 +62,7 @@
|
||||
$% {$exec wire @p $~ {beak silk:ford}} ::
|
||||
{$drop wire @p @tas} ::
|
||||
{$info wire @p @tas nori} ::
|
||||
{$mont wire @tas @p @tas path} ::
|
||||
{$mont wire @tas beam} ::
|
||||
{$ogre wire $@(@tas beam)} ::
|
||||
{$merg wire @p @tas @p @tas case germ} ::
|
||||
{$poke wire dock pear} ::
|
||||
@ -99,7 +99,7 @@
|
||||
?~ bem
|
||||
=+ "can't mount bad path: {<pax>}"
|
||||
abet:(spam leaf+- ~)
|
||||
abet:(emit %mont /mount pot p.u.bem q.u.bem (flop s.u.bem))
|
||||
abet:(emit %mont /mount pot u.bem)
|
||||
::
|
||||
++ poke-unmount
|
||||
|= mon/kiln-unmount
|
||||
@ -108,7 +108,7 @@
|
||||
?~ bem
|
||||
=+ "can't unmount bad path: {<mon>}"
|
||||
abet:(spam leaf+- ~)
|
||||
abet:(emit %ogre /unmount-beam [[p q %ud 0] s]:u.bem)
|
||||
abet:(emit %ogre /unmount-beam [[p q r] s]:u.bem)
|
||||
abet:(emit %ogre /unmount-point mon)
|
||||
::
|
||||
++ poke-track ::
|
||||
|
@ -724,9 +724,11 @@
|
||||
:: Initializes a new mount point.
|
||||
::
|
||||
++ mont
|
||||
|= {pot/term pax/path}
|
||||
|= {pot/term bem/beam}
|
||||
^+ +>
|
||||
=+ can=(turn (~(tap by q:(aeon-to-yaki:ze let.dom))) head)
|
||||
=+ pax=s.bem
|
||||
=+ cas=(need (case-to-aeon:ze r.bem))
|
||||
=+ can=(turn (~(tap by q:(aeon-to-yaki:ze cas))) head)
|
||||
=+ mus=(skim can |=(paf/path =(pax (scag (lent pax) paf))))
|
||||
?~ mus
|
||||
+>.$
|
||||
@ -739,7 +741,7 @@
|
||||
^- (pair silk:ford silk:ford)
|
||||
:- [%$ %path !>(a)]
|
||||
:+ %cast %mime
|
||||
=+ (need (need (read-x:ze let.dom a)))
|
||||
=+ (need (need (read-x:ze cas a)))
|
||||
?: ?=($& -<)
|
||||
[%$ p.-]
|
||||
(lobe-to-silk:ze a p.-)
|
||||
@ -3354,16 +3356,16 @@
|
||||
~& [%already-mounted pot]
|
||||
[~ ..^$]
|
||||
=. mon.ruf
|
||||
(~(put by mon.ruf) p.q.hic [q.q.hic r.q.hic %ud 0] (flop s.q.hic))
|
||||
=+ yar=(~(get by fat.ruf) q.q.hic)
|
||||
(~(put by mon.ruf) p.q.hic [p.q.q.hic q.q.q.hic r.q.q.hic] s.q.q.hic)
|
||||
=+ yar=(~(get by fat.ruf) p.q.q.hic)
|
||||
?~ yar
|
||||
[~ ..^$]
|
||||
=+ dos=(~(get by dos.u.yar) r.q.hic)
|
||||
=+ dos=(~(get by dos.u.yar) q.q.q.hic)
|
||||
?~ dos
|
||||
[~ ..^$]
|
||||
=^ mos ruf
|
||||
=+ den=((de now hen ruf) [. .]:q.q.hic r.q.hic)
|
||||
abet:(mont:den p.q.hic s.q.hic)
|
||||
=+ den=((de now hen ruf) [. .]:p.q.q.hic q.q.q.hic)
|
||||
abet:(mont:den p.q.hic q.q.hic)
|
||||
[mos ..^$]
|
||||
::
|
||||
$ogre
|
||||
|
@ -301,7 +301,7 @@
|
||||
{$init p/@p} :: report install
|
||||
{$into p/desk q/? r/mode} :: external edit
|
||||
{$merg p/@p q/desk r/@p s/desk t/case u/germ} :: merge desks
|
||||
{$mont p/desk q/@p r/desk s/path} :: mount to unix
|
||||
{$mont p/desk q/beam} :: mount to unix
|
||||
{$ogre p/$@(desk beam)} :: delete mount point
|
||||
{$warp p/sock q/riff} :: file request
|
||||
{$wegh $~} :: report memory
|
||||
|
Loading…
Reference in New Issue
Block a user