pub fn remove_stale_partial_output(
path: impl AsRef<Path>,
) -> Result<bool, EncodeError>Expand description
Removes a sibling partial file left by an interrupted transactional export.
A partial file a live export holds is not touched: the lock that tells a
stale partial from a live one is the same one an output takes over a stale
partial by. It returns false when no partial file exists.
ยงErrors
PARTIAL_OUTPUT_IN_USE when a live export holds it; an encoder error for
an invalid target path or a file-system failure.