diff --git a/pkg/arvo/app/graph-push-hook.hoon b/pkg/arvo/app/graph-push-hook.hoon index 3e5f36ac1f..92076e355d 100644 --- a/pkg/arvo/app/graph-push-hook.hoon +++ b/pkg/arvo/app/graph-push-hook.hoon @@ -92,27 +92,6 @@ %run-updates (is-allowed resource.q.update bowl %.y) == :: -++ resource-for-update - |= =vase - ^- (unit resource:res) - =/ =update:store !<(update:store vase) - ?- -.q.update - %add-graph `resource.q.update - %remove-graph `resource.q.update - %add-nodes `resource.q.update - %remove-nodes `resource.q.update - %add-signatures `resource.uid.q.update - %remove-signatures `resource.uid.q.update - %archive-graph `resource.q.update - %unarchive-graph ~ - %add-tag ~ - %remove-tag ~ - %keys ~ - %tags ~ - %tag-queries ~ - %run-updates `resource.q.update - == -:: ++ initial-watch |= [=path =resource:res] ^- vase diff --git a/pkg/arvo/app/group-push-hook.hoon b/pkg/arvo/app/group-push-hook.hoon index 07b32472bd..d2214a2ce2 100644 --- a/pkg/arvo/app/group-push-hook.hoon +++ b/pkg/arvo/app/group-push-hook.hoon @@ -81,15 +81,6 @@ == -- :: -++ resource-for-update - |= =vase - ^- (unit resource) - =/ =update:store - !<(update:store vase) - ?: ?=(%initial -.update) - ~ - `resource.update -:: ++ take-update |= =vase ^- [(list card) agent] diff --git a/pkg/arvo/lib/push-hook.hoon b/pkg/arvo/lib/push-hook.hoon index ae1adba7f3..1b2da74bb1 100644 --- a/pkg/arvo/lib/push-hook.hoon +++ b/pkg/arvo/lib/push-hook.hoon @@ -67,16 +67,6 @@ |* =config $_ ^| |_ bowl:gall - :: - :: +resource-for-update: get affected resource from an update - :: - :: Given a vase of the update, the mark of which is - :: update-mark.config, produce the affected resource, if any. - :: - ++ resource-for-update - |~ vase - *(unit resource) - :: :: +take-update: handle update from store :: :: Given an update from the store, do other things after proxying