def snapshot.close.registry

mylsm-lsm-store@0.6.0.1 · src/scan/Snapshot.bend:1160

import mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend as Snapshot
import Base

1160# Maps a valid registry release to successful snapshot closure.
1161def snapshot.close.registry(decision: RegistryReleaseDecision) -> SnapshotCloseDecision:
1162  match decision:
1163    case Released{registry}: SnapshotClosed{registry}
1164    case InvalidRelease{registry}: InvalidSnapshotClose{registry}

Uses (2)

Used by (1)