From 8553108c9e43b69a7ff1167f9fce9539b8445f26 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 60b736b519..850d8e7bf7 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) ==