public interface DiffProvider
Modifier and Type | Method and Description |
---|---|
default boolean |
canCompareWithWorkingDir() |
default java.util.Collection<Change> |
compareWithWorkingDir(VirtualFile fileOrDir,
VcsRevisionNumber revNum) |
default ContentRevision |
createCurrentFileContent(VirtualFile file) |
ContentRevision |
createFileContent(VcsRevisionNumber revisionNumber,
VirtualFile selectedFile) |
VcsRevisionNumber |
getCurrentRevision(VirtualFile file) |
ItemLatestState |
getLastRevision(FilePath filePath) |
ItemLatestState |
getLastRevision(VirtualFile virtualFile) |
VcsRevisionNumber |
getLatestCommittedRevision(VirtualFile vcsRoot) |
default void |
preloadBaseRevisions(VirtualFile root,
java.util.Collection<Change> changes)
Preload base revisions of all the given changes, if the DiffProvider supports it.
|
VcsRevisionNumber getCurrentRevision(VirtualFile file)
ItemLatestState getLastRevision(VirtualFile virtualFile)
ItemLatestState getLastRevision(FilePath filePath)
ContentRevision createFileContent(VcsRevisionNumber revisionNumber, VirtualFile selectedFile)
VcsRevisionNumber getLatestCommittedRevision(VirtualFile vcsRoot)
default ContentRevision createCurrentFileContent(VirtualFile file)
default void preloadBaseRevisions(VirtualFile root, java.util.Collection<Change> changes)
default boolean canCompareWithWorkingDir()
default java.util.Collection<Change> compareWithWorkingDir(VirtualFile fileOrDir, VcsRevisionNumber revNum) throws VcsException
VcsException