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

import com.atlassian.stash.internal.scm.git.GitStatus;

import javax.annotation.Nonnull;

/**
 * @since 2.0
 */
public interface StatusCallback {

    /**
     * Get the status of a file in the working directory and index.
     *
     * @param status file status
     */
    void onStatus(@Nonnull GitStatus status);
}
