def cache.dir
import ezx@1.11.0.0/src/tool/world.bend as Worldimport Base
import ezx@1.11.0.0/src/pkg/path.bend as P
162def cache.dir(+here: String, +xdg: String, +home: String) -> Maybe<&2, String>:
163 Bool.pick(Maybe<&2, String>, String.is_empty(xdg), cache.home(here, home),
164 Some{P.anchor(here, xdg) ++ "/ez/tool"})