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

Method getLineInFile

src/diff.h:351–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349 }
350
351 [[nodiscard]] LineRef getLineInFile(e_SrcSelector src) const
352 {
353 if(src == e_SrcSelector::A) return lineA;
354 if(src == e_SrcSelector::B) return lineB;
355 if(src == e_SrcSelector::C) return lineC;
356 return LineRef();
357 }
358
359 [[nodiscard]] inline qint32 sumLinesNeededForDisplay() const { return mSumLinesNeededForDisplay; }
360

Callers 3

showStatusLineMethod · 0.80
calcTopLineInFileMethod · 0.80

Calls 1

LineRefClass · 0.85

Tested by

no test coverage detected