def nsdir

ezx@1.11.0.0 · src/pkg/pkg.bend:473

import ezx@1.11.0.0/src/pkg/pkg.bend as Pkg
import Base
import ezx@1.11.0.0/src/pkg/path.bend as P

473# the directory a module's own imports are named from. The entry is the package
474# root, so its modules are named from nowhere in particular.
475def nsdir(+ns: String) -> String:
476  Bool.pick(String, String.is_empty(ns), "", P.dir(ns))

Uses (4)

Used by (2)