in src/main/java/com/googlesource/gerrit/plugins/deleteproject/fs/ArchiveRepositoryRemover.java [102:111]
private void cleanUpOverdueRepositories() {
for (Path path : listOverdueFiles(config.getArchiveDuration())) {
try {
MoreFiles.deleteRecursively(path, ALLOW_INSECURE);
} catch (IOException e) {
logger.atWarning().withCause(e).log(
"Error trying to clean the archived git repository: %s", path);
}
}
}