package com.atlassian.bitbucket.mesh.config;

import com.atlassian.bitbucket.mesh.annotation.ManagedByControlPlane;

public interface HostingConfig {

    /**
     * @return {@code true} if initial push optimization (treating non-atomic pushes to an empty repository as atomic)
     *         is enabled
     */
    @ManagedByControlPlane
    boolean isAtomicInitialPush();

    /**
     * @return {@code true} if {@code upload-pack} should allow filtered (partial) clones; otherwise, {@code false}
     */
    @ManagedByControlPlane
    boolean isFilterAllowed();
}
