Cookie.cookie.path_prefix: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/cookie.bend as Cookie Lines 468-474 of emerging-ezhttp@0.21.0.0/src/cookie.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/src/cookie.bend&start_line=468&end_line=474 import Base # path-match once the cookie-path is known to be a prefix def cookie.path_prefix(+req: String, +cpath: String, hit: Bool) -> Bool: match hit: case False{}: False{} case True{}: cookie.path_rest(req, cpath, String.eq(req, cpath)) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/cookie.bend&name=cookie.path_rest