MCPcopy Create free account
hub / github.com/KDE/kdevelop / lastLineIdx

Method lastLineIdx

kdevplatform/vcs/vcsdiff.cpp:53–53  ·  view source on GitHub ↗

* @returns the 0-based line number (in the whole diff) of the last line contained in the hunk. */

Source from the content-addressed store, hash-verified

51 * @returns the 0-based line number (in the whole diff) of the last line contained in the hunk.
52 */
53 uint lastLineIdx() const { return headingLineIdx + lines.size(); }
54
55 /**
56 * @param lineIdx the 0-based line number of the tested line in the whole diff

Callers 3

operator>Method · 0.80
operator>=Method · 0.80
subDiffHunkMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected