package com.atlassian.stash.internal.scm.git;

import com.atlassian.bitbucket.util.Drainable;

public interface GitWriteTracker extends Drainable {

    /**
     * Call this when they're about to start an operation that modifies the on-disk repository
     * in some way.
     */
    void onWriteStart();

    /**
     * git operations should call this when they're about to start an operation that modifies the on-disk repository
     * in some way.
     */
    void onWriteEnd();
}
