urbit/pkg/arvo/mar/graph/update-0.hoon

21 lines
356 B
Plaintext
Raw Normal View History

2021-03-11 07:00:50 +03:00
/+ *graph-store
=* as-octs as-octs:mimes:html
::
|_ upd=update
++ grad %noun
++ grow
|%
++ noun upd
++ json (update:enjs upd)
2021-03-18 06:41:48 +03:00
++ graph-update upd
2021-03-11 07:00:50 +03:00
++ mime [/application/x-urb-graph-update (as-octs (jam upd))]
--
::
++ grab
|%
++ noun update
++ json update:dejs
++ mime |=([* =octs] ;;(update (cue q.octs)))
--
--