Pkg.inside: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/pkg/pkg.bend as Pkg Lines 725-731 of ezx@1.11.0.0/src/pkg/pkg.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&start_line=725&end_line=731 import Base # a path of the project, as it is written inside a package rooted at `root`: # the path itself under the project's own root, and the path with the root's # directories taken off otherwise. The hub serves a package's files at these # paths, so `ez add` and `ez publish` both name the entry by it. def inside(+root: String, +path: String) -> String: Bool.pick(String, String.eq(root, "."), path, String.drop(path, (String.length(root) + 1n : Nat))) 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=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.drop https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.length