OSDN Git Service

initial TGitCache support added
[tortoisegit/TortoiseGitJp.git] / src / TGitCache / CachedDirectory.h
index 987c0d0..4d32ec0 100644 (file)
@@ -48,7 +48,8 @@ public:
        /// Get the current full status of this folder\r
        git_wc_status_kind GetCurrentFullStatus() {return m_currentFullStatus;}\r
 private:\r
-       static git_error_t* GetStatusCallback(void *baton, const char *path, git_wc_status2_t *status);\r
+//     static git_error_t* GetStatusCallback(void *baton, const char *path, git_wc_status2_t *status);\r
+       static BOOL GetStatusCallback(const struct wgFile_s *pFile, void *pUserData);\r
        void AddEntry(const CTGitPath& path, const git_wc_status2_t* pGitStatus, DWORD validuntil = 0);\r
        CString GetCacheKey(const CTGitPath& path);\r
        CString GetFullPathString(const CString& cacheKey);\r
@@ -76,10 +77,10 @@ private:
        typedef std::map<CTGitPath, git_wc_status_kind>  ChildDirStatus;\r
        ChildDirStatus m_childDirectories;\r
 \r
-       // The timestamp of the .SVN\entries file.  For an unversioned directory, this will be zero\r
-       __int64 m_entriesFileTime;\r
+       // The timestamp of the .git\index file.  For an unversioned directory, this will be zero\r
+       __int64 m_indexFileTime;\r
        // The timestamp of the .SVN\props dir.  For an unversioned directory, this will be zero\r
-       __int64 m_propsFileTime;\r
+//     __int64 m_propsFileTime;\r
        \r
        // The path of the directory with this object looks after\r
        CTGitPath       m_directoryPath;\r