mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 13:04:17 +03:00
graph-store: patch importing
This commit is contained in:
parent
092d2f30cf
commit
342f038e23
@ -1,4 +1,4 @@
|
|||||||
/- sur=graph-store, pos=post
|
/- sur=graph-store, pos=post, pull-hook
|
||||||
/+ res=resource, migrate
|
/+ res=resource, migrate
|
||||||
=< [sur .]
|
=< [sur .]
|
||||||
=< [pos .]
|
=< [pos .]
|
||||||
@ -872,6 +872,10 @@
|
|||||||
^- card:agent:gall
|
^- card:agent:gall
|
||||||
=/ res-path (en-path:res rid)
|
=/ res-path (en-path:res rid)
|
||||||
=/ wire [%try-rejoin (scot %ud nack-count) res-path]
|
=/ wire [%try-rejoin (scot %ud nack-count) res-path]
|
||||||
[%pass wire %agent [entity.rid %graph-push-hook] %watch resource+res-path]
|
=/ =cage
|
||||||
|
:- %pull-hook-action
|
||||||
|
!> ^- action:pull-hook
|
||||||
|
[%add [entity .]:rid]
|
||||||
|
[%pass wire %agent [our %graph-pull-hook] %poke cage]
|
||||||
--
|
--
|
||||||
--
|
--
|
||||||
|
Loading…
Reference in New Issue
Block a user