Redirect.redirect.dots.end: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/redirect.bend as Redirect Lines 48-54 of emerging-ezhttp@0.21.0.0/src/redirect.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/src/redirect.bend&start_line=48&end_line=54 import Base # a path that ends in `.` or `..` keeps its trailing `/`: an empty last segment def redirect.dots.end(last: Bool, out: List<&2, String>) -> List<&2, String>: match last: case True{}: "" <> out case False{}: out Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String