package com.atlassian.stash.internal.commit;

import com.atlassian.stash.internal.Dao;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

/**
 * @since 2.11
 */
public interface CommitDiscussionDao extends Dao<Long, InternalCommitDiscussion> {

    @Nullable
    InternalCommitDiscussion findByRepositoryAndCommit(int repositoryId, @Nonnull String commitId);
}
