Skip to main content

trim_shared

Function trim_shared 

Source
pub async fn trim_shared(
    docker: &impl DockerApi,
    names: &Names,
    caches: &Caches,
    mirror: Mirror,
) -> Result<Trimmed, Error>
Expand description

Empties the shared caches that outgrew their limit, the mirror’s storage among them once the mirror is down (Mirror::Down); call only while no runner runs.