public class GitRepositoryDescriptor extends FilebasedRepositoryDescriptor
Modifier and Type | Method and Description |
---|---|
void |
deleteRepository() |
void |
forceDeleteRepository() |
String |
getRepositoryLocationString() |
boolean |
isReadOnly() |
static GitRepositoryDescriptor |
readOnlyRepository(File repositoryRoot)
Caller of this method is responsible for calling
forceDeleteRepository() |
static GitRepositoryDescriptor |
writableRepository(File repositoryRoot) |
getAbsolutePath, getRepoRoot, getTempDir, setTempDir
public String getRepositoryLocationString()
public void deleteRepository()
deleteRepository
in class FilebasedRepositoryDescriptor
public void forceDeleteRepository()
public static GitRepositoryDescriptor readOnlyRepository(@NotNull File repositoryRoot)
forceDeleteRepository()
public static GitRepositoryDescriptor writableRepository(@NotNull File repositoryRoot)
public boolean isReadOnly()
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.