EndpointPath.endpoint.result: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/coordinator/EndpointPath.bend as EndpointPath Lines 13-19 of mylsm-lsm-store@0.6.0.1/src/coordinator/EndpointPath.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/EndpointPath.bend&start_line=13&end_line=19 import Base # Appends the fixed owner endpoint name only when the path remains bounded. def endpoint.result(path: String, admitted: Bool) -> Decision: match path: case canonical: match admitted: case True{}: Endpoint{canonical ++ "/MYLSM.sock"} case False{}: PathTooLong{} 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.append https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/EndpointPath.bend&name=Decision