We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 866f242 commit 06ee9feCopy full SHA for 06ee9fe
view/sharedcache/core/SharedCacheView.cpp
@@ -855,9 +855,10 @@ bool SharedCacheView::InitController()
855
{
856
// After this we should have all the mappings available as well.
857
auto startTime = std::chrono::high_resolution_clock::now();
858
- sharedCacheBuilder.AddDirectory(primaryFileDir);
859
if (primaryProjectFile)
860
sharedCacheBuilder.AddProjectFolder(primaryProjectFile->GetFolder());
+ else
861
+ sharedCacheBuilder.AddDirectory(primaryFileDir);
862
auto totalEntries = sharedCacheBuilder.GetCache().GetEntries().size();
863
auto endTime = std::chrono::high_resolution_clock::now();
864
std::chrono::duration<double> elapsed = endTime - startTime;
0 commit comments