MCPcopy Create free account
hub / github.com/KDE/kdiff3 / nextAgeValue

Method nextAgeValue

src/MergeFileInfos.h:164–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162
163 private:
164 [[nodiscard]] e_Age nextAgeValue(e_Age age)
165 {
166 switch(age)
167 {
168 case eNew:
169 return eMiddle;
170 case eMiddle:
171 return eOld;
172 case eOld:
173 return eNotThere;
174 case eNotThere:
175 return eAgeEnd;
176 case eAgeEnd:
177 assert(false);
178 }
179 return age;
180 }
181
182 bool fastFileComparison(FileAccess& fi1, FileAccess& fi2, bool& bError, QString& status);
183 inline void setAgeA(const e_Age inAge) { m_ageA = inAge; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected