def table_hit_if

mylsm-lsm-store@0.3.2.0 · src/Db.bend:99

import mylsm-lsm-store@0.3.2.0/src/Db.bend as Db
import Base
import mylsm-lsm-store@0.3.2.0/src/Sstable.bend as Sstable

99def table_hit_if(present: Bool, tab: Sstable.Table, +key: String) -> Maybe<&2, Maybe<&2, String>>:
100  match present:
101    case False{}:
102      None{}
103    case True{}:
104      Sstable.block_get_hit(tab, key)

Uses (5)

Used by (1)