use of org.eclipse.che.api.git.params.CloneParams in project che by eclipse.
the class GitProjectImporter method cloneRepository.
private void cloneRepository(GitConnection git, String remoteName, String url, boolean recursiveEnabled) throws ServerException, UnauthorizedException, URISyntaxException {
final CloneParams params = CloneParams.create(url).withRemoteName(remoteName).withRecursive(recursiveEnabled);
git.clone(params);
}
Aggregations