diff --git a/pkg/arvo/sys/vane/clay.hoon b/pkg/arvo/sys/vane/clay.hoon index 98cf4bdff..179a7f28f 100644 --- a/pkg/arvo/sys/vane/clay.hoon +++ b/pkg/arvo/sys/vane/clay.hoon @@ -2666,10 +2666,16 @@ ++ get-fit |= pax=path ^- (unit path) + :: add the hoon extension to the result + :: + =- ?~(- ~ `(snoc u.- %hoon)) + |- ^- (unit path) ?> ?=([* * ~] pax) + :: put the prefix back on the result + :: =- ?~(- ~ `[i.pax u.-]) =. nak (~(got by dir.nak) i.pax) - ?^ got=(get t.pax) + ?^ got=(get (snoc t.pax %hoon)) (some t.pax) =/ seg=tape (trip i.t.pax) ?~ dex=(find "-" seg)