MCPcopy Create free account
hub / github.com/TortoiseGit/TortoiseGit / AppendPathString

Method AppendPathString

src/Git/TGitPath.cpp:642–653  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

640}
641
642void CTGitPath::AppendPathString(const CString& sAppend)
643{
644 EnsureBackslashPathSet();
645 CString cleanAppend(sAppend);
646 cleanAppend.Replace(L'/', L'\\');
647 cleanAppend.TrimLeft(L'\\');
648 m_sBackslashPath.TrimRight(L'\\');
649 CString strCopy = m_sBackslashPath;
650 strCopy += L'\\';
651 strCopy += cleanAppend;
652 SetFromWin(strCopy);
653}
654
655bool CTGitPath::IsWCRoot() const
656{

Callers 7

TESTFunction · 0.80
OpenFileMethod · 0.80
ExecuteMethod · 0.80
ExecuteMethod · 0.80
ExecuteMethod · 0.80
SubmoduleCallbackFunction · 0.80

Calls 3

ReplaceMethod · 0.80
TrimLeftMethod · 0.80
TrimRightMethod · 0.80

Tested by 1

TESTFunction · 0.64