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

Method getString

src/diff.h:337–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335 }
336
337 [[nodiscard]] const QString getString(const e_SrcSelector src) const
338 {
339 try
340 {
341 const LineData pld = getLineData(src).value();
342
343 return pld.getLine();
344 }
345 catch(const std::bad_optional_access& e)
346 {
347 return QString();
348 }
349 }
350
351 [[nodiscard]] LineRef getLineInFile(e_SrcSelector src) const
352 {

Callers 1

findHistoryRangeMethod · 0.45

Calls 2

valueMethod · 0.80
getLineMethod · 0.80

Tested by

no test coverage detected