public interface ChangeProvider
Modifier and Type | Method and Description |
---|---|
default void |
doCleanup(java.util.List<VirtualFile> files)
Accepts files for which vcs operations are temporarily blocked and tries to "cleanup" them - make vcs operations available again.
|
void |
getChanges(VcsDirtyScope dirtyScope,
ChangelistBuilder builder,
ProgressIndicator progress,
ChangeListManagerGate addGate)
Get changes from point of view of VCS.
|
boolean |
isModifiedDocumentTrackingRequired()
Returns true if the initial unsaved modification of a document should cause dirty scope invalidation
for the file corresponding to the document.
|
void getChanges(VcsDirtyScope dirtyScope, ChangelistBuilder builder, ProgressIndicator progress, ChangeListManagerGate addGate) throws VcsException
Get changes from point of view of VCS. The vcs plugin should invoke
methods on the builder
object to report how changes in dirtyScope
map to VCS.
The implementations of this method should not report changes outside of the dirty scope, but if these changes are reported, they will be ignored by the caller.
dirtyScope
- a changes on the virtual file systembuilder
- a builder of VCS changesprogress
- a current progress objectVcsException
- if there there is a VCS specific problemboolean isModifiedDocumentTrackingRequired()
default void doCleanup(java.util.List<VirtualFile> files)
ChangelistBuilder.processLockedFolder(VirtualFile)
.
For instance, for Subversion this method is used to perform "svn cleanup" on corresponding locked working copy directories.