Interface ModifiedFilesCache
- All Known Implementing Classes:
- ModifiedFilesCacheImpl
public interface ModifiedFilesCache
A cache for the list of Git modified files between 2 commits (patchsets) with extra Gerrit logic.
 
The loader uses the underlying GitModifiedFilesCacheImpl to retrieve the git modified
 files.
 
If the ModifiedFilesCacheKey.aCommit() is equal to ObjectId.zeroId(), the diff will be evaluated against the empty tree, and
 the result will be exactly the same as the caller can get from GitModifiedFilesCache.get(GitModifiedFilesCacheKey)
- 
Method SummaryModifier and TypeMethodDescriptioncom.google.common.collect.ImmutableList<ModifiedFile>get(ModifiedFilesCacheKey key) Returns the list ofModifiedFiles between the 2 git commits identified by the key
- 
Method Details- 
getcom.google.common.collect.ImmutableList<ModifiedFile> get(ModifiedFilesCacheKey key) throws DiffNotAvailableException Returns the list ofModifiedFiles between the 2 git commits identified by the key- Parameters:
- key- used to identify two git commits and contains other attributes to control the diff calculation.
- Throws:
- DiffNotAvailableException- the supplied commits IDs of the key do no exist, are not IDs of a commit, or an exception occurred while reading a pack file.
 
 
-