shrub/pkg/arvo/gen/hood/story-remove.hoon
2022-01-25 14:54:30 -05:00

18 lines
498 B
Plaintext

::
::::
::
:- %say
|= $: [now=@da eny=@uvJ bec=beak]
[[syd=desk =aeon:clay ~] ~]
==
::
:: Remove a commit message to a given case on a given desk
::
=/ our p.bec
:: XX should `base` here be syd or q.bec
=/ tak .^(tako:clay %cs /(scot %p our)/base/(scot %ud aeon)/tako/~)
=/ tale=(map tako:clay [@t @t])
.^((map tako:clay [@t @t]) %cx /(scot %p our)/[syd]/(scot %da now)/story)
=. tale (~(del by tale) tak)
:- %helm-pass
[%c [%info syd %& [/story %ins story+!>(tale)]~]]