mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 22:33:06 +03:00
Merge pull request #3076 from urbit/philip/clay-print
kiln: Small fixes
This commit is contained in:
commit
f3dede23d1
@ -39,7 +39,14 @@
|
||||
[d this]
|
||||
::
|
||||
++ on-leave on-leave:def
|
||||
++ on-peek on-peek:def
|
||||
++ on-peek
|
||||
|= =path
|
||||
~& peeking=path
|
||||
^- (unit (unit cage))
|
||||
?+ path (on-peek:def path)
|
||||
[* %kiln *] (on-peek:kiln-core path)
|
||||
==
|
||||
::
|
||||
++ on-save !>(state)
|
||||
++ on-load
|
||||
|= =old-state=vase
|
||||
|
@ -43,7 +43,12 @@
|
||||
==
|
||||
::
|
||||
++ base-hash
|
||||
=/ parent (scot %p (sein:title our now our))
|
||||
=+ .^(=cass:clay %cs /[parent]/kids/1/late/foo)
|
||||
.^(@uv %cz /[parent]/kids/(scot %ud ud.cass))
|
||||
=+ .^ ota=(unit [=ship =desk =aeon:clay])
|
||||
%gx /(scot %p our)/hood/(scot %da now)/kiln/ota/noun
|
||||
==
|
||||
?~ ota
|
||||
*@uv
|
||||
=/ parent (scot %p ship.u.ota)
|
||||
=+ .^(=cass:clay %cs /[parent]/[desk.u.ota]/1/late/foo)
|
||||
.^(@uv %cz /[parent]/[desk.u.ota]/(scot %ud ud.cass))
|
||||
--
|
||||
|
@ -104,6 +104,13 @@
|
||||
=. +<+.$.abet old
|
||||
..abet
|
||||
::
|
||||
++ on-peek
|
||||
|= =path
|
||||
^- (unit (unit cage))
|
||||
?. ?=([%x %kiln %ota ~] path)
|
||||
[~ ~]
|
||||
``noun+!>(ota)
|
||||
::
|
||||
++ poke-commit
|
||||
|= [mon/kiln-commit auto=?]
|
||||
=< abet
|
||||
|
@ -2366,7 +2366,8 @@
|
||||
|= [pax=path *]
|
||||
=((~(got by new.dal) pax) (~(got by new.dob) pax))
|
||||
?: &(?=(%mate germ) ?=(^ con))
|
||||
[%| %mate-conflict ~]
|
||||
=+ (turn ~(tap by `(map path *)`con) |=([path *] >[+<-]<))
|
||||
[%| %mate-conflict -]
|
||||
=/ old=(map path lobe) :: oldies but goodies
|
||||
%+ roll ~(tap by (~(uni by old.dal) old.dob))
|
||||
=< .(old q.bas)
|
||||
|
Loading…
Reference in New Issue
Block a user