MigrateIo.source.counts: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/transfer/MigrateIo.bend as MigrateIo Lines 935-941 of mylsm-lsm-store@0.6.0.1/src/transfer/MigrateIo.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/transfer/MigrateIo.bend&start_line=935&end_line=941 import Base def source.counts( result: Result<&1, &1, Error, SourceSnapshot> ) -> Result<&1, &1, Error, SourceCounts>: match result: case Fail{error}: Fail{error} case Done{LegacySourceSnapshot{_, _, sst_entries, wal_frames, encoded_bytes}}: Done{LegacySourceCounts{sst_entries, wal_frames, encoded_bytes}} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/transfer/MigrateIo.bend&name=Error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/transfer/MigrateIo.bend&name=SourceCounts https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/transfer/MigrateIo.bend&name=SourceSnapshot