public class LocalGitSetupHelper extends Object
Modifier and Type | Field and Description |
---|---|
static Duration |
GIT_CONFIG_TIMEOUT |
static String |
GIT_DUMP_FILE_NAME |
Constructor and Description |
---|
LocalGitSetupHelper() |
Modifier and Type | Method and Description |
---|---|
static GitRepositoryDescriptor |
cloneLocalRepository(GitRepositoryDescriptor localRepository) |
static GitRepositoryDescriptor |
createRepositoryFromZip(String zipResourceName) |
static GitRepositoryDescriptor |
emptyRepository() |
static GitRepositoryDescriptor |
getRepositoryForCommits() |
static GitRepositoryDescriptor |
getRepositoryForReadOnlyAccess() |
static GitRepositoryDescriptor |
mirrorLocalRepository(GitRepositoryDescriptor localRepository) |
public static final String GIT_DUMP_FILE_NAME
public static final Duration GIT_CONFIG_TIMEOUT
public static GitRepositoryDescriptor getRepositoryForReadOnlyAccess()
@NotNull public static GitRepositoryDescriptor getRepositoryForCommits()
@NotNull public static GitRepositoryDescriptor createRepositoryFromZip(@NotNull String zipResourceName)
public static GitRepositoryDescriptor cloneLocalRepository(@NotNull GitRepositoryDescriptor localRepository)
public static GitRepositoryDescriptor emptyRepository()
public static GitRepositoryDescriptor mirrorLocalRepository(@NotNull GitRepositoryDescriptor localRepository)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.