From 8cac5b50c4a34127d4c784b77d8a83ba66b2b4dc Mon Sep 17 00:00:00 2001 From: Joe Bryan Date: Wed, 23 Feb 2022 00:16:27 -0500 Subject: [PATCH] graph-store: integrates with |mass --- pkg/landscape/app/graph-store.hoon | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkg/landscape/app/graph-store.hoon b/pkg/landscape/app/graph-store.hoon index ca6e85cf82..fabe7d743d 100644 --- a/pkg/landscape/app/graph-store.hoon +++ b/pkg/landscape/app/graph-store.hoon @@ -617,6 +617,16 @@ |= =path ^- (unit (unit cage)) ?+ path (on-peek:def path) + [%x %whey ~] + =/ liv=(list mass) + (sort (turn ~(tap by graphs) |=([[* n=term] g=*] n^&+g)) aor) + =/ log=(list mass) + (sort (turn ~(tap by update-logs) |=([[* n=term] l=*] n^&+l)) aor) + =/ sil=(list mass) + (sort (turn ~(tap by archive) |=([[* n=term] g=*] n^&+g)) aor) + :^ ~ ~ %mass + !>(`(list mass)`[live+|+liv logs+|+log ?~(sil ~ [silo+|+sil ~])]) + :: [%x %export ~] ``noun+!>(state) :: [%x %keys ~]