From 94a4eca6494f44bd9d9752d242461b424286d24e Mon Sep 17 00:00:00 2001 From: ~wicrum-wicrun <99811688+wicrum-wicrun@users.noreply.github.com> Date: Fri, 31 Mar 2023 00:20:22 +0200 Subject: [PATCH] gall: support `%t` scry --- pkg/arvo/sys/vane/gall.hoon | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pkg/arvo/sys/vane/gall.hoon b/pkg/arvo/sys/vane/gall.hoon index 60b736b51..850d8e7bf 100644 --- a/pkg/arvo/sys/vane/gall.hoon +++ b/pkg/arvo/sys/vane/gall.hoon @@ -2068,6 +2068,19 @@ ?. ?=(%.y -.shop) ~ =/ =ship p.shop + ?: ?& =(%t care) + =([%$ %da now] coin) + =(our ship) + == + =/ yok (~(get by yokes.state) q.bem) + ?. ?=([~ %live *] yok) ~ + :^ ~ ~ %file-list !> ^- (list ^path) + %+ skim ~(tap in ~(key by sky.u.yok)) + |= =spur + ?& =(s.bem (scag (lent s.bem) spur)) + !=(s.bem spur) + == + :: ?: ?& =(%z care) =(our ship) ==