#pragma once

#include "query_generator.h"

#include <yandex/maps/wiki/revision/revisionsgateway.h>

namespace maps::wiki::revision {

class ConflictsChecker : public boost::noncopyable {
public:
    explicit ConflictsChecker(Transaction& work);

    void checkConflicts(
        BranchType branchType,
        DBID branchId,
        const CommitIdToObjectIds& ids) const;

private:
    Transaction& work_;
};

} // namespace maps::wiki::revision
