World.cache.dir: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/tool/world.bend as World Lines 162-164 of ezx@1.11.0.0/src/tool/world.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/tool/world.bend&start_line=162&end_line=164 import Base import ezx@1.11.0.0/src/pkg/path.bend as P def cache.dir(+here: String, +xdg: String, +home: String) -> Maybe<&2, String>: Bool.pick(Maybe<&2, String>, String.is_empty(xdg), cache.home(here, home), Some{P.anchor(here, xdg) ++ "/ez/tool"}) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.is_empty https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/path.bend&name=anchor https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/tool/world.bend&name=cache.home