Snapshot.reserve: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend as Snapshot Lines 303-313 of mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend&start_line=303&end_line=313 import Base # Decides whether one snapshot fits the configured count and byte limits. def reserve( snapshot_count: Nat, retained_bytes: Nat, requested_bytes: Nat, max_snapshots: Nat, max_retained_bytes: Nat ) -> Decision: reserve.result.checked(reserve.bytes(nat.duplicate(retained_bytes), nat.duplicate(requested_bytes), nat.duplicate(snapshot_count), max_snapshots, max_retained_bytes)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend&name=Decision https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend&name=nat.duplicate https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend&name=reserve.bytes https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend&name=reserve.result.checked