mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-19 22:48:03 +03:00
clay: bump kelvin, refactor
This commit is contained in:
parent
90a2625016
commit
0f6f2d6321
@ -1 +1 @@
|
|||||||
[%zuse 419]
|
[%zuse 418]
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
::
|
::
|
||||||
=> ..part
|
=> ..part
|
||||||
|%
|
|%
|
||||||
++ lull %330
|
++ lull %329
|
||||||
:: :: ::
|
:: :: ::
|
||||||
:::: :: :: (1) models
|
:::: :: :: (1) models
|
||||||
:: :: ::
|
:: :: ::
|
||||||
|
@ -125,11 +125,15 @@
|
|||||||
:: having changed; this lets us short-circuit that in some cases.
|
:: having changed; this lets us short-circuit that in some cases.
|
||||||
:: Whenever you give an `%ergo`, you must update this.
|
:: Whenever you give an `%ergo`, you must update this.
|
||||||
::
|
::
|
||||||
|
:: XX state upgrade, added `tom` and `nor`
|
||||||
|
::
|
||||||
+$ dome
|
+$ dome
|
||||||
$: ank=ankh :: state
|
$: ank=ankh :: state
|
||||||
let=aeon :: top id
|
let=aeon :: top id
|
||||||
hit=(map aeon tako) :: versions by id
|
hit=(map aeon tako) :: versions by id
|
||||||
lab=(map @tas aeon) :: labels
|
lab=(map @tas aeon) :: labels
|
||||||
|
:: tom=(map tako norm) :: tomb policies
|
||||||
|
:: nor=norm :: future policy
|
||||||
mim=(map path mime) :: mime cache
|
mim=(map path mime) :: mime cache
|
||||||
fod=ford-cache :: ford cache
|
fod=ford-cache :: ford cache
|
||||||
== ::
|
== ::
|
||||||
@ -184,6 +188,10 @@
|
|||||||
bar=(set plop) :: new content
|
bar=(set plop) :: new content
|
||||||
== ::
|
== ::
|
||||||
::
|
::
|
||||||
|
:: Tombstone policy
|
||||||
|
::
|
||||||
|
+$ norm (axal ?)
|
||||||
|
::
|
||||||
:: Formal vane state.
|
:: Formal vane state.
|
||||||
::
|
::
|
||||||
:: -- `rom` is our domestic state.
|
:: -- `rom` is our domestic state.
|
||||||
@ -4423,7 +4431,7 @@
|
|||||||
abet:(perm:den pax.req rit.req)
|
abet:(perm:den pax.req rit.req)
|
||||||
[mos ..^$]
|
[mos ..^$]
|
||||||
::
|
::
|
||||||
%tomb (tomb clue.req)
|
%tomb (tomb-clue:tomb clue.req)
|
||||||
%trim [~ ..^$]
|
%trim [~ ..^$]
|
||||||
::
|
::
|
||||||
%vega
|
%vega
|
||||||
@ -5143,26 +5151,29 @@
|
|||||||
blobs+&+lat.ran.ruf
|
blobs+&+lat.ran.ruf
|
||||||
==
|
==
|
||||||
==
|
==
|
||||||
:: +tomb: safely remove objects
|
|
||||||
::
|
::
|
||||||
++ tomb
|
++ tomb
|
||||||
|= =clue
|
|%
|
||||||
^- [(list move) _..^$]
|
:: +tomb-clue: safely remove objects
|
||||||
|^
|
::
|
||||||
?- -.clue
|
++ tomb-clue
|
||||||
%lobe `(tomb-lobe lobe.clue &)
|
|= =clue
|
||||||
%all
|
^- [(list move) _..^$]
|
||||||
=/ lobes=(list [=lobe =blob]) ~(tap by lat.ran.ruf)
|
?- -.clue
|
||||||
|-
|
%lobe `(tomb-lobe lobe.clue &)
|
||||||
?~ lobes
|
%all
|
||||||
`..^^^$
|
=/ lobes=(list [=lobe =blob]) ~(tap by lat.ran.ruf)
|
||||||
=. ..^^^$ (tomb-lobe lobe.i.lobes &)
|
|-
|
||||||
$(lobes t.lobes)
|
?~ lobes
|
||||||
==
|
`..^^$
|
||||||
|
=. ..^^$ (tomb-lobe lobe.i.lobes &)
|
||||||
|
$(lobes t.lobes)
|
||||||
|
==
|
||||||
|
:: +tomb-lobe: remove specific lobe
|
||||||
::
|
::
|
||||||
++ tomb-lobe
|
++ tomb-lobe
|
||||||
|= [lob=lobe veb=?]
|
|= [lob=lobe veb=?]
|
||||||
^+ ..^^^$
|
^+ ..^$
|
||||||
=/ bol (~(get by lat.ran.ruf) lob)
|
=/ bol (~(get by lat.ran.ruf) lob)
|
||||||
?~ bol
|
?~ bol
|
||||||
(noop veb leaf+"clay: lobe doesn't exist" ~)
|
(noop veb leaf+"clay: lobe doesn't exist" ~)
|
||||||
@ -5213,7 +5224,7 @@
|
|||||||
++ noop
|
++ noop
|
||||||
|= [veb=? =tang]
|
|= [veb=? =tang]
|
||||||
?. veb
|
?. veb
|
||||||
..^^^$
|
..^$
|
||||||
((slog tang) ..^^^$)
|
((slog tang) ..^$)
|
||||||
--
|
--
|
||||||
--
|
--
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
=> ..lull
|
=> ..lull
|
||||||
~% %zuse ..part ~
|
~% %zuse ..part ~
|
||||||
|%
|
|%
|
||||||
++ zuse %419
|
++ zuse %418
|
||||||
:: :: ::
|
:: :: ::
|
||||||
:::: :: :: (2) engines
|
:::: :: :: (2) engines
|
||||||
:: :: ::
|
:: :: ::
|
||||||
|
Loading…
Reference in New Issue
Block a user