ManifestIo.ldir_of: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/legacy/ManifestIo.bend as ManifestIo Lines 260-278 of mylsm-lsm-store@0.6.0.1/src/legacy/ManifestIo.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/legacy/ManifestIo.bend&start_line=260&end_line=278 import Base # Handle ldir of in the database recovery effects. def ldir_of(idx: Nat) -> Maybe<&2, String>: match idx: case 0n: Some{"l0"} case 1n+m: match m: case 0n: Some{"l1"} case 1n+p: match p: case 0n: Some{"l2"} case 1n+q: match q: case 0n: Some{"l3"} case 1n+r: None{} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String