use of com.intellij.cvsSupport2.cvsoperations.cvsAdd.AddFileOperation in project intellij-community by JetBrains.
the class RepositoryModificationOperation method addFile.
public void addFile(String folderPath, String name, KeywordSubstitution substitution) {
myAddedFilesCount++;
File file = new File(folderPath, name).getAbsoluteFile();
AddFileOperation addFilesOperation = new AddFileOperation(substitution);
addFilesOperation.addFile(file.getAbsolutePath());
addOperation(addFilesOperation);
if (file.isFile())
commitFile(file);
}
Aggregations