package com.atlassian.stash.internal.pull.cleanup;

import com.atlassian.bitbucket.pull.PullRequest;

/**
 * Service to delete the source branch of a pull request.
 */
public interface PullRequestBranchDeletionService {

    /**
     * Deletes the source branch of a pull request.
     *
     * @param pullRequest pull request
     */
    void deleteSourceBranch(PullRequest pullRequest, boolean dryRun);
}
