From 3fe9dc602660c2c5d66ed703adfa155e5dbfe983 Mon Sep 17 00:00:00 2001 From: ~wicrum-wicrun <99811688+wicrum-wicrun@users.noreply.github.com> Date: Thu, 16 Mar 2023 23:47:25 +0100 Subject: [PATCH 1/2] distinguish between an empty path and a wiped path --- pkg/base-dev/lib/sss.hoon | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/base-dev/lib/sss.hoon b/pkg/base-dev/lib/sss.hoon index a1a4a4b24..298c29bb2 100644 --- a/pkg/base-dev/lib/sss.hoon +++ b/pkg/base-dev/lib/sss.hoon @@ -201,7 +201,8 @@ ?^ dat=(get:wav wav.tide u.when.req) :_ pub :_ ~ (send scry/wave/u.dat src.bowl [dude u.when path]:req) - ?. (gth u.when.req key::(fall (ram:wav wav.tide) [key=+(u.when.req) **])) + ?. %+ gth u.when.req + key::(fall (ram:wav wav.tide) (pry:rok rok.tide) [=key val]:wav) :_ pub :_ ~ (send yore/~ src.bowl [dude u.when path]:req) :- ~[(send nigh/~ src.bowl [dude u.when path]:req)] From e321c56bd159c83f523e9ffabf658a844aed4bbd Mon Sep 17 00:00:00 2001 From: ~wicrum-wicrun <99811688+wicrum-wicrun@users.noreply.github.com> Date: Fri, 17 Mar 2023 00:05:09 +0100 Subject: [PATCH 2/2] clarify logic --- pkg/base-dev/lib/sss.hoon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/base-dev/lib/sss.hoon b/pkg/base-dev/lib/sss.hoon index 298c29bb2..5f02e3db0 100644 --- a/pkg/base-dev/lib/sss.hoon +++ b/pkg/base-dev/lib/sss.hoon @@ -201,7 +201,7 @@ ?^ dat=(get:wav wav.tide u.when.req) :_ pub :_ ~ (send scry/wave/u.dat src.bowl [dude u.when path]:req) - ?. %+ gth u.when.req + ?: %+ lte u.when.req key::(fall (ram:wav wav.tide) (pry:rok rok.tide) [=key val]:wav) :_ pub :_ ~ (send yore/~ src.bowl [dude u.when path]:req)