Git.import.line: def of ezx@1.13.0.0 Import: import ezx@1.13.0.0/src/git/git.bend as Git Lines 257-262 of ezx@1.13.0.0/src/git/git.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.13.0.0/src/git/git.bend&start_line=257&end_line=262 import Base import ezx@1.13.0.0/src/pkg/path.bend as P # the import line a consumer writes for a package: the hash, the entry's path # inside the package, which is where the hub serves it, and the entry's name # as the alias, the way bend prints it. `ez add` and `ez publish` both print # this line. def import.line(+hash: String, +at: String) -> String: "import " ++ hash ++ "/" ++ at ++ " as " ++ title(P.unbend(P.base(at))) Uses (5): 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=ezx@1.13.0.0/src/git/git.bend&name=title https://jend.leeeet.dev/definition.txt?path=ezx@1.13.0.0/src/pkg/path.bend&name=base https://jend.leeeet.dev/definition.txt?path=ezx@1.13.0.0/src/pkg/path.bend&name=unbend