shrub/pkg/arvo/mar/graph/update.hoon

20 lines
332 B
Plaintext
Raw Normal View History

/+ *graph-store
2020-09-18 23:50:34 +03:00
=* as-octs as-octs:mimes:html
::
|_ upd=update
2020-09-03 17:12:12 +03:00
++ grad %noun
++ grow
|%
2020-09-03 17:12:12 +03:00
++ noun upd
++ json (update:enjs upd)
2020-09-18 23:50:34 +03:00
++ mime [/application/x-urb-graph-update (as-octs (jam upd))]
--
::
++ grab
|%
++ noun update
++ json update:dejs
2020-09-18 23:50:34 +03:00
++ mime |=([* =octs] ;;(update (cue q.octs)))
--
--