From 60063be1c9b264996b2e2aba0f4b1436955458dc Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Fri, 20 Jan 2017 21:39:26 +0100 Subject: [PATCH] Drop unused code Signed-off-by: Sven Strickroth --- src/TGitCache/GITStatusCache.cpp | 2 -- src/TGitCache/GitStatusCache.h | 6 ------ 2 files changed, 8 deletions(-) diff --git a/src/TGitCache/GITStatusCache.cpp b/src/TGitCache/GITStatusCache.cpp index 581639a8b..35d51a44d 100644 --- a/src/TGitCache/GITStatusCache.cpp +++ b/src/TGitCache/GITStatusCache.cpp @@ -208,7 +208,6 @@ void CGitStatusCache::Destroy() void CGitStatusCache::Stop() { -// m_svnHelp.Cancel(true); watcher.Stop(); m_folderCrawler.Stop(); m_shellUpdater.Stop(); @@ -240,7 +239,6 @@ CGitStatusCache::~CGitStatusCache(void) void CGitStatusCache::Refresh() { m_shellCache.RefreshIfNeeded(); -// m_pInstance->m_svnHelp.ReloadConfig(); if (!m_pInstance->m_directoryCache.empty()) { auto I = m_pInstance->m_directoryCache.cbegin(); diff --git a/src/TGitCache/GitStatusCache.h b/src/TGitCache/GitStatusCache.h index 3383b885e..83f24a269 100644 --- a/src/TGitCache/GitStatusCache.h +++ b/src/TGitCache/GitStatusCache.h @@ -68,11 +68,6 @@ public: /// Removes all items from the cache void ClearCache(); - /// Call this method before getting the status for a shell request - void StartRequest(const CTGitPath& path); - /// Call this method after the data for the shell request has been gathered - void EndRequest(const CTGitPath& path); - /// Notifies the shell about file/folder status changes. /// A notification is only sent for paths which aren't currently /// in the list of handled shell requests to avoid deadlocks. @@ -108,7 +103,6 @@ private: CCachedDirectory::CachedDirMap m_directoryCache; CComAutoCriticalSection m_NoWatchPathCritSec; std::map m_NoWatchPaths; ///< paths to block from getting crawled, and the time in ms until they're unblocked -// SVNHelper m_svnHelp; ShellCache m_shellCache; static CGitStatusCache* m_pInstance; -- 2.11.4.GIT