CanonImportPath.canon: def of bend-lint-rules@0.2.0.0 Import: import bend-lint-rules@0.2.0.0/layout/canon_import_path.bend as CanonImportPath Lines 61-67 of bend-lint-rules@0.2.0.0/layout/canon_import_path.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-rules@0.2.0.0/layout/canon_import_path.bend&start_line=61&end_line=67 import Base # The segments as a path that starts with ./ or ../. def canon(+parts: List<&2, String>) -> String: match parts: case Con{SCon{'.', SCon{'.', SNil{}}}, rest}: String.join(parts, "/") case _: "./" ++ String.join(parts, "/") Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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.join https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Con https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Nil