def for_canonical_path
import mylsm-lsm-store@0.6.0.1/src/coordinator/EndpointPath.bend as EndpointPathimport Base
import mylsm-lsm-store@0.6.0.1/src/StorageBytes.bend as StorageBytes
21# Builds one endpoint from a path already resolved by the filesystem layer.
22def for_canonical_path(+canonical_path: String) -> Decision:
23 endpoint.result(canonical_path,
24 admit_length(Nat.add(StorageBytes.string_size(canonical_path), 11n)))