pub fn clear(dry_run: bool) -> Result<()>
Clears the local archive cache.
Returns an error if the cache clearing operation fails.
This function does not explicitly panic.