public final class GitScmTestUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
GIT_COMMAND_LINE
'git' command line
|
Modifier and Type | Method and Description |
---|---|
static void |
deleteAllDirectories(File startDirectory,
String pattern) |
static String |
getScmUrl(File repositoryRootFile,
String provider) |
static void |
initRepo(File repository,
File workingDirectory,
File assertionDirectory) |
static void |
initRepo(String source,
File repository,
File workingDirectory) |
static void |
setDefaulGitConfig(File repositoryRootFile) |
public static final String GIT_COMMAND_LINE
public static void initRepo(File repository, File workingDirectory, File assertionDirectory) throws IOException
IOException
public static void initRepo(String source, File repository, File workingDirectory) throws IOException
IOException
public static String getScmUrl(File repositoryRootFile, String provider) throws org.codehaus.plexus.util.cli.CommandLineException
org.codehaus.plexus.util.cli.CommandLineException
public static void deleteAllDirectories(File startDirectory, String pattern) throws IOException
IOException
public static void setDefaulGitConfig(File repositoryRootFile)
Copyright © 2003–2024 The Apache Software Foundation. All rights reserved.