Exemplo n.º 1
0
CString CTSVNPath::GetUIFileOrDirectoryName() const
{
    GetUIPathString();
    CString sUIPath = m_sUIPath;
    sUIPath.Replace('\\', '/');
    return sUIPath.Mid(sUIPath.ReverseFind('/')+1);
}
Exemplo n.º 2
0
CString CTGitPath::GetUIFileOrDirectoryName() const
{
	GetUIPathString();
	return m_sUIPath.Mid(m_sUIPath.ReverseFind('\\')+1);
}