Pkg.nsdir: def of ezx@1.13.0.0 Import: import ezx@1.13.0.0/src/pkg/pkg.bend as Pkg Lines 473-476 of ezx@1.13.0.0/src/pkg/pkg.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.13.0.0/src/pkg/pkg.bend&start_line=473&end_line=476 import Base import ezx@1.13.0.0/src/pkg/path.bend as P # the directory a module's own imports are named from. The entry is the package # root, so its modules are named from nowhere in particular. def nsdir(+ns: String) -> String: Bool.pick(String, String.is_empty(ns), "", P.dir(ns)) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.is_empty https://jend.leeeet.dev/definition.txt?path=ezx@1.13.0.0/src/pkg/path.bend&name=dir