core/src/main/java/org/commonjava/indy/core/content/DefaultDownloadManager.java
private boolean deleteCache( ArtifactStore store, String path, EventMetadata eventMetadata )
                    throws IndyWorkflowException
    {
        if ( store.getKey().getType() == hosted )
        {
            return false;
        }
        final Transfer item = getStorageReference( store, path == null ? ROOT_PATH : path );
        logger.trace( "Delete cache, item: {}", item );
        return doDelete( item, eventMetadata );
    }
private boolean deleteCache( ArtifactStore store, String path, EventMetadata eventMetadata )
                    throws IndyWorkflowException
    {
        if ( store.getKey().getType() == hosted )
        {
            return false;
        }
        final Transfer item = getStorageReference( store, path == null ? ROOT_PATH : path );
        logger.trace( "Delete cache, item: {}", item );
        return doDelete( item, eventMetadata );
    }
clean just the cache (storage of groups and remote repos)