T - the type of the return valuepublic abstract class AbstractRepositoryCallback<T> extends Object implements org.jenkinsci.plugins.gitclient.RepositoryCallback<T>
Repository object is accessible.| Constructor and Description |
|---|
AbstractRepositoryCallback() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getAbsolutePath(File absolute)
Returns an absolute path for a given file in the Git repository, normalized using Unix path separators.
|
static String |
getWorkTree(org.eclipse.jgit.lib.Repository repository)
Returns the root directory of the repository working tree.
|
public static String getWorkTree(org.eclipse.jgit.lib.Repository repository)
repository - the repositoryCopyright © 2016–2020. All rights reserved.