Skip to main content

clear

Function clear 

Source
pub(crate) async fn clear(
    state: &AppState,
    uid: &str,
) -> Result<AgentContainerCachesResult, (StatusCode, String)>
Expand description

Removes the agent’s cache volumes, and its container with them; answers with what is left (nothing) and what was freed.