From 59e070e46ecf1ee1d21a974ba56ce70746e468e4 Mon Sep 17 00:00:00 2001 From: Isaac Visintainer Date: Tue, 26 Jan 2021 14:02:04 -0800 Subject: [PATCH] graph-store: updated tree type in import flow --- pkg/arvo/app/graph-store.hoon | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkg/arvo/app/graph-store.hoon b/pkg/arvo/app/graph-store.hoon index 12baed69c4..db6daabd03 100644 --- a/pkg/arvo/app/graph-store.hoon +++ b/pkg/arvo/app/graph-store.hoon @@ -726,7 +726,8 @@ $: %0 p=time $= q - $% [%add-nodes =resource:store nodes=(tree [index:store tree-node])] + $% [%add-graph =resource:store =tree-graph mark=(unit ^mark) ow=?] + [%add-nodes =resource:store nodes=(tree [index:store tree-node])] [%remove-nodes =resource:store indices=(tree index:store)] [%add-signatures =uid:store signatures=tree-signatures] [%remove-signatures =uid:store signatures=tree-signatures] @@ -806,6 +807,14 @@ ^- logged-update:store :+ %0 p.t ?- -.q.t + %add-graph + :* %add-graph + resource.q.t + (remake-graph tree-graph.q.t) + mark.q.t + ow.q.t + == + :: %add-nodes :- %add-nodes :- resource.q.t