public class CachesHolder
extends java.lang.Object
Constructor and Description |
---|
CachesHolder(Project project,
RepositoryLocationCache locationCache) |
Modifier and Type | Method and Description |
---|---|
void |
clearAllCaches() |
java.util.Collection<ChangesCacheFile> |
getAllCaches() |
java.util.Map<VirtualFile,RepositoryLocation> |
getAllRootsUnderVcs(AbstractVcs vcs)
Returns all paths that will be used to collect committed changes about.
|
java.io.File |
getCacheBasePath() |
ChangesCacheFile |
getCacheFile(AbstractVcs vcs,
VirtualFile root,
RepositoryLocation location) |
ChangesCacheFile |
haveCache(RepositoryLocation location) |
void |
iterateAllCaches(Processor<? super ChangesCacheFile> processor) |
public CachesHolder(Project project, RepositoryLocationCache locationCache)
public java.util.Map<VirtualFile,RepositoryLocation> getAllRootsUnderVcs(AbstractVcs vcs)
public void iterateAllCaches(Processor<? super ChangesCacheFile> processor)
public void clearAllCaches()
public java.util.Collection<ChangesCacheFile> getAllCaches()
public ChangesCacheFile getCacheFile(AbstractVcs vcs, VirtualFile root, RepositoryLocation location)
public java.io.File getCacheBasePath()
public ChangesCacheFile haveCache(RepositoryLocation location)