ByteDurableDb.path.reverse: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend as ByteDurableDb Lines 680-687 of mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend&start_line=680&end_line=687 import Base # Keeps the original table when SST publication fails; after publication, # checkpoints the WAL through atomic replacement and retains canonical entries. # Reverses a string while preserving all path characters. def path.reverse(path: String, reversed: String) -> String: match path: case SNil{}: reversed case SCon{character, rest}: path.reverse(rest, SCon{character, reversed}) Uses (1): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String