def cache.dir

ezx@1.11.0.0 · src/tool/world.bend:162

import ezx@1.11.0.0/src/tool/world.bend as World
import 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"})

Uses (7)

Used by (1)