Skip to main content

publish_replace

Function publish_replace 

Source
pub fn publish_replace(
    from: &Path,
    to: &Path,
    retry: &RetryPolicy<'_>,
) -> Result<Published>
Expand description

Moves the finished file from to to, replacing any file there. Retryable errors are retried as retry allows.

ยงErrors

What the operating system reports for the last try.