mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 08:32:39 +03:00
ce0fa85e18
- use desk parameter instead of %base everywhere - formatting clean up - make |story-remove take a case instead of an aeon - make desk param optional for story-set and story-log
19 lines
533 B
Plaintext
19 lines
533 B
Plaintext
::
|
|
::::
|
|
::
|
|
/- *story
|
|
:- %say
|
|
|= $: [now=@da eny=@uvJ bec=beak]
|
|
[[syd=desk ~] ~]
|
|
==
|
|
::
|
|
:: (Internal) List all commit messages for the given desk,
|
|
:: including orphans (i.e. ones that have no connection to the file graph)
|
|
::
|
|
=/ our p.bec
|
|
=/ tale=story .^(story %cx /(scot %p our)/[syd]/(scot %da now)/story)
|
|
=/ story-to-mime .^($-(story mime) %cf /(scot %p our)/[syd]/(scot %da now)/story/mime)
|
|
=/ tale-mime (story-to-mime tale)
|
|
=/ tale-text `@t`q.q.tale-mime
|
|
:- %tang
|
|
[tale-text ~] |