def start.ready

mylsm-lsm-store@0.6.0.1 · src/transfer/BackupCursor.bend:29

import mylsm-lsm-store@0.6.0.1/src/transfer/BackupCursor.bend as BackupCursor
import Base
import mylsm-lsm-store@0.6.0.1/src/scan/VisibleCursor.bend as VisibleCursor
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

29# Initializes the bounded cursor stream after encoding its header.
30def start.ready(
31  cursor: Maybe<&1, VisibleCursor.Cursor>,
32  entry_count: U32,
33  expected: Nat,
34  block_count: U32,
35  header: Bytes.Bytes
36) -> Step:
37  Chunk{Stream{CursorBlocks{}, cursor, Nil{}, 0n, 0n, expected,
38    entry_count, block_count, 0}, header}

Uses (9)

Used by (1)