/** * Delete files * * @param project the project * @param root a vcs root * @param files files to delete * @return a result of operation * @throws VcsException in case of git problem */ public static void deleteFiles(Project project, VirtualFile root, VirtualFile... files) throws VcsException { deleteFiles(project, root, Arrays.asList(files)); }