urbit/pkg/arvo/gen/hood/norm.hoon

12 lines
320 B
Plaintext
Raw Normal View History

2022-04-13 07:02:37 +03:00
:: Add rule to tombstone policy
::
2022-04-09 07:32:14 +03:00
:- %say
|= [[now=@da eny=@uvJ bec=beak] [=ship =desk =path keep=? ~] ~]
:- %helm-pass
=+ .^(=cone:clay %cx /(scot %p p.bec)//(scot %da now)/domes)
=/ =norm:clay
?~ got=(~(get by cone) ship desk)
*norm:clay
nor.u.got
[%c %tomb %norm ship desk (~(put of norm) path keep)]