kDB: Knowledge DataBase
Loading...
Searching...
No Matches
kDB::Repository::VersionControl::AbstractMergeStrategy Class Reference

#include <AbstractMergeStrategy.h>

Inheritance diagram for kDB::Repository::VersionControl::AbstractMergeStrategy:
Collaboration diagram for kDB::Repository::VersionControl::AbstractMergeStrategy:

Classes

struct  Private
 

Public Member Functions

void addRevisions (const QList< Revision > &_revisions)
 
bool merge ()
 
bool hasChanges (qsizetype _index) const
 
QByteArray diff (qsizetype _index) const
 
QByteArray parentHash (qsizetype _index) const
 
bool allHaveChanges () const
 

Protected Member Functions

 AbstractMergeStrategy (Private *_d)
 

Protected Attributes

Private *const d
 

Detailed Description

Base class for merge strategies.

Member Function Documentation

◆ hasChanges()

bool kDB::Repository::VersionControl::AbstractMergeStrategy::hasChanges ( qsizetype _index) const
Returns
true if there are changes between the left and merged revisions.

Value is undefined before call to merge.


The documentation for this class was generated from the following files: