コード例 #1
0
// Create a TGitPath object from an unknown path type (same as using SetFromUnknown)
CTGitPath::CTGitPath(const CString& sUnknownPath) :
	  m_bDirectoryKnown(false)
	, m_bIsDirectory(false)
	, m_bURLKnown(false)
	, m_bHasAdminDirKnown(false)
	, m_bIsValidOnWindowsKnown(false)
	, m_bIsValidOnWindows(false)
	, m_bIsReadOnly(false)
	, m_bIsAdminDirKnown(false)
	, m_bIsAdminDir(false)
	, m_bExists(false)
	, m_bExistsKnown(false)
	, m_bLastWriteTimeKnown(0)
	, m_lastWriteTime(0)
	, m_customData(NULL)
	, m_bIsSpecialDirectoryKnown(false)
	, m_bIsSpecialDirectory(false)
	, m_bIsWCRootKnown(false)
	, m_bIsWCRoot(false)
	, m_fileSize(0)
	, m_Checked(false)
{
	SetFromUnknown(sUnknownPath);
	m_Action=0;
	m_Stage=0;
	m_ParentNo=0;
}
コード例 #2
0
ファイル: TSVNPath.cpp プロジェクト: yuexiaoyun/tortoisesvn
// Create a TSVNPath object from an unknown path type (same as using SetFromUnknown)
CTSVNPath::CTSVNPath(const CString& sUnknownPath) :
    m_bDirectoryKnown(false),
    m_bIsDirectory(false),
    m_bIsURL(false),
    m_bURLKnown(false),
    m_bHasAdminDirKnown(false),
    m_bHasAdminDir(false),
    m_bIsValidOnWindowsKnown(false),
    m_bIsValidOnWindows(false),
    m_bIsReadOnly(false),
    m_bIsAdminDirKnown(false),
    m_bIsAdminDir(false),
    m_bIsWCRootKnown(false),
    m_bIsWCRoot(false),
    m_bExists(false),
    m_bExistsKnown(false),
    m_bLastWriteTimeKnown(0),
    m_lastWriteTime(0),
    m_fileSize(0),
    m_customData(NULL),
    m_bIsSpecialDirectoryKnown(false),
    m_bIsSpecialDirectory(false),
    m_bIsAttributesKnown(false),
    m_attributes(0)
{
    SetFromUnknown(sUnknownPath);
}
コード例 #3
0
void CTGitPath::AppendRawString(const CString& sAppend)
{
	EnsureFwdslashPathSet();
	CString strCopy = m_sFwdslashPath += sAppend;
	SetFromUnknown(strCopy);
}
コード例 #4
0
ファイル: TGitPath.cpp プロジェクト: iamduyu/TortoiseGit
// Create a TGitPath object from an unknown path type (same as using SetFromUnknown)
CTGitPath::CTGitPath(const CString& sUnknownPath) : CTGitPath()
{
	SetFromUnknown(sUnknownPath);
}