Snapshot.snapshot.resource.duplicate: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend as Snapshot Lines 559-564 of mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend&start_line=559&end_line=564 import Base def snapshot.resource.duplicate(resource: SnapshotResource) -> SnapshotResource & SnapshotResource: match resource: case SnapshotResource{id, generation, retained_bytes, cursor_count}: snapshot.resource.duplicate.parts(u32.duplicate(id), nat.duplicate(generation), nat.duplicate(retained_bytes), nat.duplicate(cursor_count)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend&name=SnapshotResource https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend&name=nat.duplicate https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend&name=snapshot.resource.duplicate.parts https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend&name=u32.duplicate