Class ModifiedFilesCacheImpl

java.lang.Object
com.google.gerrit.server.patch.diff.ModifiedFilesCacheImpl
All Implemented Interfaces:
ModifiedFilesCache

public class ModifiedFilesCacheImpl extends Object implements ModifiedFilesCache
A cache for the list of Git modified files between 2 commits (patchsets) with extra Gerrit logic.

The loader of this cache wraps a GitModifiedFilesCache 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)