Url.res.rel.go: def of bend-kit-url@0.4.1.0 Import: import bend-kit-url@0.4.1.0/url.bend as Url Lines 521-526 of bend-kit-url@0.4.1.0/url.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-url@0.4.1.0/url.bend&start_line=521&end_line=526 import Base # ยง5.2.2: an empty path keeps the base path (and its query unless one is given); # "/..." replaces the path; anything else merges with the base directory. def res.rel.go(+scheme: String, +host: String, +port: U32, +bpath: String, +bq: String, +bhas: Bool, +rp: String, +q: String, +rhas: Bool) -> Maybe<&2, Abs>: Bool.pick(Maybe<&2, Abs>, String.is_empty(rp), Bool.pick(Maybe<&2, Abs>, rhas, res.build(scheme, host, port, bpath, q, True{}), res.build(scheme, host, port, bpath, bq, bhas)), res.build(scheme, host, port, remove_dots(Bool.pick(String, String.starts_with(rp, "/"), rp, dir(bpath) ++ rp)), q, rhas)) Uses (12): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe 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.is_empty https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.starts_with https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-kit-url@0.4.1.0/url.bend&name=Abs https://jend.leeeet.dev/definition.txt?path=bend-kit-url@0.4.1.0/url.bend&name=dir https://jend.leeeet.dev/definition.txt?path=bend-kit-url@0.4.1.0/url.bend&name=remove_dots https://jend.leeeet.dev/definition.txt?path=bend-kit-url@0.4.1.0/url.bend&name=res.build