RestoreIo.publish.parent.sync.failed: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/transfer/RestoreIo.bend as RestoreIo Lines 244-258 of mylsm-lsm-store@0.6.0.1/src/transfer/RestoreIo.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/transfer/RestoreIo.bend&start_line=244&end_line=258 import Base import mylsm-lsm-store@0.6.0.1/src/transfer/PublicationPolicy.bend as PublicationPolicy # Validates an exchange, builds a sibling database, verifies it, then publishes it. def publish.parent.sync.failed( disposition: PublicationPolicy.Failure, error: U32 & String ) -> IO(Result<&1, &1, Error, Unit>): match disposition: case PublicationPolicy.CommitUnknown{}: match error: case (code, message): IO.pure(Result<&1, &1, Error, Unit>, Fail{CommitUnknown{code, "parent directory sync failed: " ++ message}}) case PublicationPolicy.KnownFailure{}: match error: case (code, message): IO.pure(Result<&1, &1, Error, Unit>, Fail{Io{code, message}}) Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/transfer/PublicationPolicy.bend&name=Failure https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/transfer/RestoreIo.bend&name=Error