Skip to main content

recover_pending

Function recover_pending 

Source
pub fn recover_pending(
    target: &Utf8Path,
    key: &str,
) -> Result<Option<Recovery>, RkError>
Expand description

Recover a transaction an earlier run left open, where its owner is provably gone.

Ok(None) where no marker exists or the owner may still be running. The caller holds the checkout’s lock, so two runs never recover the same marker at once.

§Errors

Returns RkError::Io where the marker exists and does not read.