EndpointPath.for_canonical_path: 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 21-24 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=21&end_line=24 import Base import mylsm-lsm-store@0.6.0.1/src/StorageBytes.bend as StorageBytes # Builds one endpoint from a path already resolved by the filesystem layer. def for_canonical_path(+canonical_path: String) -> Decision: endpoint.result(canonical_path, admit_length(Nat.add(StorageBytes.string_size(canonical_path), 11n))) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/StorageBytes.bend&name=string_size https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/EndpointPath.bend&name=Decision https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/EndpointPath.bend&name=admit_length https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/EndpointPath.bend&name=endpoint.result