9 * Initializes the global object. Call this after apr is initialized but
\r
10 * before using any other methods of this class.
\r
14 * Clears the memory pool. Call this before you clear *all* pools
\r
15 * with apr_pool_terminate(). If you don't use apr_pool_terminate(), then
\r
16 * this method doesn't need to be called, because the deconstructor will
\r
21 /// Returns true if \a name is the admin dir name
\r
22 bool IsAdminDirName(const CString& name) const;
\r
24 /// Returns true if the path points to or below an admin directory
\r
25 bool IsAdminDirPath(const CString& path) const;
\r
27 /// Returns true if the path (file or folder) has an admin directory
\r
28 /// associated, i.e. if the path is in a working copy.
\r
29 bool HasAdminDir(const CString& path) const;
\r
30 bool HasAdminDir(const CString& path,CString * ProjectTopDir) const;
\r
31 bool HasAdminDir(const CString& path, bool bDir,CString * ProjectTopDir=NULL) const;
\r
32 CString GetGitTopDir(const CString& path);
\r
34 /// Returns true if the admin dir name is set to "_svn".
\r
35 bool IsVSNETHackActive() const {return m_bVSNETHack;}
\r
37 CString GetAdminDirName() const {return _T(".git");}
\r
38 CString GetVSNETAdminDirName() const {return _T("_git");}
\r
45 extern GitAdminDir g_GitAdminDir;