Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TortoiseGit/TortoiseGit
/ FindLineNumber
Method
FindLineNumber
src/TortoiseMerge/ViewData.cpp:65–71 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
63
}
64
65
int CViewData::FindLineNumber(int number) const
66
{
67
for(size_t i = 0; i < m_data.size(); ++i)
68
if (m_data[i].linenumber >= number)
69
return static_cast<int>(i);
70
return -1;
71
}
Callers
3
TieMovedBlocks
Method · 0.80
FindViewLineNumber
Method · 0.80
LoadViews
Method · 0.80
Calls
1
size
Method · 0.45
Tested by
no test coverage detected