mirror of
https://github.com/urbit/shrub.git
synced 2024-11-24 04:58:08 +03:00
Merge pull request #6568 from urbit/m/zero-tacos
clay: the commit must actually be known
This commit is contained in:
commit
781406bed6
@ -4492,14 +4492,13 @@
|
||||
++ read-at-tako :: read-at-tako:ze
|
||||
|= [for=(unit ship) tak=tako mun=mood] :: seek and read
|
||||
^- [(unit (unit cage)) _..park]
|
||||
?. |(?=(~ for) (may-read u.for care.mun tak path.mun))
|
||||
[~ ..park]
|
||||
:: the commit must be known, and reachable from within this desk
|
||||
::
|
||||
?. ?| =(0v0 tak)
|
||||
?& (~(has by hut.ran) tak)
|
||||
?. ?& !=(0v0 tak)
|
||||
(~(has by hut.ran) tak)
|
||||
(~(has in (reachable-takos (aeon-to-tako:ze let.dom))) tak)
|
||||
== ==
|
||||
|(?=(~ for) (may-read u.for care.mun tak path.mun))
|
||||
==
|
||||
[~ ..park]
|
||||
:: virtualize to catch and produce deterministic failures
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user