urbit/pkg/arvo/mar/graph/validator/dm.hoon

24 lines
397 B
Plaintext
Raw Normal View History

2021-04-23 04:39:29 +03:00
/- *post, met=metadata-store, graph=graph-store, hark=hark-graph-hook
|_ i=indexed-post
++ grow
|%
++ noun i
++ notification-kind
^- (unit notif-kind:hark)
?+ index.p.i ~
[@ ~] `[%message [0 1] %count %none]
==
::
--
++ grab
|%
++ noun
|= p=*
=/ ip ;;(indexed-post p)
?> ?=(?([@ ~] [@ @ ~]) index.p.ip)
ip
--
::
++ grad %noun
--