Mylsm.Bytes.backup_to.remote.snapshot.cloned: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/mylsm.bend as Mylsm Lines 1282-1296 of mylsm-lsm-store@0.6.0.1/mylsm.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&start_line=1282&end_line=1296 import Base import mylsm-lsm-store@0.6.0.1/src/coordinator/Client.bend as OwnerClient import mylsm-lsm-store@0.6.0.1/src/coordinator/ByteClient.bend as OwnerByteClient def Bytes.backup_to.remote.snapshot.cloned( path: String, sessions: OwnerClient.Session & OwnerClient.Session, snapshot_ids: U32 & U32 & U32 ) -> IO(Bytes.Handle & Result<&1, &1, Bytes.Error, Unit>): match sessions: case (handle_session, owner_session): match snapshot_ids: case (count_id, (export_id, _)): do IO>: opened_cursor : OwnerClient.Session & Result<&1, &1, OwnerClient.Error, U32> <- OwnerByteClient.snapshot.cursor.open(owner_session, count_id) Bytes.backup_to.remote.cursor.counted(path, handle_session, export_id, opened_cursor) Uses (14): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Bytes.Error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Bytes.Handle https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Bytes.backup_to.remote.cursor.counted https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/ByteClient.bend&name=snapshot.cursor.open https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/Client.bend&name=Error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/Client.bend&name=Session