Skip to main content

mirror_network

Function mirror_network 

Source
pub async fn mirror_network(ctx: MirrorContext<'_>) -> Result<MirrorResult>
Expand description

Mirror all blobs referenced within a set of namespaces.

If provider is Some, only blobs that the given provider has an active lease for are mirrored (provider-scoped within the network).

ยงErrors

Returns an error if the service state lock is poisoned, namespaces cannot be opened, or blob fetching fails.