def clone

mylsm-lsm-store@0.6.0.1 · src/scan/VisibleStats.bend:70

import mylsm-lsm-store@0.6.0.1/src/scan/VisibleStats.bend as VisibleStats
import Base

70# Rebuilds independent copies of the exact aggregate totals.
71def clone(+stats: Stats) -> Stats & Stats:
72  match stats:
73    case Stats{+entries, +payload_bytes}:
74      clone.fields(clone.nat(entries), clone.nat(payload_bytes))

Uses (4)

Used by (5)