def for_canonical_path

mylsm-lsm-store@0.6.0.1 · src/coordinator/EndpointPath.bend:21

import mylsm-lsm-store@0.6.0.1/src/coordinator/EndpointPath.bend as EndpointPath
import 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)))

Uses (6)

Used by (2)