@Override
    public void deleteAll() {
        FunctionUtils.doUnchecked(__ -> {
            val currentServices = load();
            currentServices.stream()
                .map(this::locateExistingRegisteredServiceFile)
                .filter(Optional::isPresent)
                .map(Optional::get)
                .forEach(Unchecked.consumer(FileUtils::forceDelete));
            val message = "Deleted registered services from repository";
            commitAndPush(message);
        });
    }
This is {@link GitServiceRegistry}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-git-service-registry/src/main/java/org/apereo/cas/services/GitServiceRegistry.java