Path.join: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/lsp/path.bend as Path Lines 17-19 of bolt@1.27.0.0/src/lsp/path.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/lsp/path.bend&start_line=17&end_line=19 import Base # dir and rel as one absolute path, its `.` and `..` resolved def join(dir: String, rel: String) -> String: "/" ++ String.join(List.reverse(&2, String, norm(String.split(dir ++ "/" ++ rel, '/'), [])), "/") Uses (8): 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=List.reverse 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=String.split https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lsp/path.bend&name=norm