def start.header

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

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 mylsm-lsm-store@0.6.0.1/src/transfer/Backup.bend as Backup
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

51def start.header(
52  cursor: Maybe<&1, VisibleCursor.Cursor>,
53  pair: Backup.Stream & Bytes.Bytes
54) -> Step:
55  match pair:
56    case (Backup.Stream{_, _, entry_count, block_count, _}, header):
57      start.count(cursor, Backup.u32.duplicate.pair(entry_count),
58        block_count, header)

Uses (9)

Used by (1)