def ctx_of2

cswap-bend-cli@0.1.0.0 · store/base.bend:12

import cswap-bend-cli@0.1.0.0/store/base.bend as Base
import Base

12def ctx_of2(+home: String, +dir: String, +unset: Bool) -> Ctx:
13  match unset:
14    case True{}:
15      Ctx{home, home ++ "/.claude", home}
16    case False{}:
17      Ctx{home, dir, dir}

Uses (4)

Used by (1)