From d8203eb0d17c9d1e4c2111a1f64e8306eb09a588 Mon Sep 17 00:00:00 2001 From: Caio Marcelo de Oliveira Filho Date: Wed, 22 Jul 2020 00:22:45 -0700 Subject: [PATCH] trouble: report glob state --- pkg/arvo/gen/trouble.hoon | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkg/arvo/gen/trouble.hoon b/pkg/arvo/gen/trouble.hoon index fc61e2ee4..a022d01a4 100644 --- a/pkg/arvo/gen/trouble.hoon +++ b/pkg/arvo/gen/trouble.hoon @@ -10,6 +10,7 @@ [%base-hash base-hash] [%home-hash .^(@uv %cz (pathify ~.home ~))] [%kids-hash .^(@uv %cz (pathify ~.kids ~))] + [%glob-hash glob-state] :: (info %our our) (info %sponsor sponsor) @@ -51,4 +52,10 @@ =/ parent (scot %p ship.u.ota) =+ .^(=cass:clay %cs /[parent]/[desk.u.ota]/1/late/foo) .^(@uv %cz /[parent]/[desk.u.ota]/(scot %ud ud.cass)) +:: +++ glob-state + ^- [@uv @tas] + =< [hash ?~(glob %waiting ?:(-.u.glob %done %trying))] + !< [@ud hash=@uv glob=(unit [? *])] + .^(vase %gx (weld (pathify ~.glob ~) /dbug/state/noun)) --