Snapshot.owner.snapshot.close: 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 1150-1158 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=1150&end_line=1158 import Base # Closes a snapshot only after its final cursor releases the retained root. def owner.snapshot.close( owner: OwnerRegistry, snapshot_id: U32 ) -> OwnerSnapshotCloseDecision: match owner: case OwnerRegistry{allocator, reservations, snapshots, cursors}: owner.snapshot.close.list(allocator, reservations, cursors, snapshot.list.cursor.close(snapshots, snapshot_id)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend&name=OwnerRegistry https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend&name=OwnerSnapshotCloseDecision https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend&name=owner.snapshot.close.list https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend&name=snapshot.list.cursor.close