Skip to main content

restore

Function restore 

Source
pub fn restore(
    podcasts: &Store,
    articles: &Store,
    source: Source,
    client: &Client,
    payload: &Value,
) -> Result<(), String>
Expand description

Validate both retained stores and combined quotas before publishing anything. Imports add missing identities only; existing subscriptions/editions/evidence win. Files publish independently, so an IO failure after the first publication may leave safe additions; retry is idempotent.