Package dev.gradleplugins.fixtures.vcs
Interface GitRepository
-
- All Known Implementing Classes:
GitFileRepository
public interface GitRepository
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.jgit.lib.Refcheckout(java.lang.String branchName)org.eclipse.jgit.revwalk.RevCommitcommit(java.lang.String message)org.eclipse.jgit.lib.RefcreateBranch(java.lang.String branchName)org.eclipse.jgit.lib.RefcreateLightWeightTag(java.lang.String tagName)java.io.Filefile(java.lang.Object... path)java.net.URIgetUrl()java.io.FilegetWorkTree()
-
-
-
Method Detail
-
getUrl
java.net.URI getUrl()
-
createBranch
org.eclipse.jgit.lib.Ref createBranch(java.lang.String branchName) throws org.eclipse.jgit.api.errors.GitAPIException- Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
checkout
org.eclipse.jgit.lib.Ref checkout(java.lang.String branchName) throws org.eclipse.jgit.api.errors.GitAPIException- Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
createLightWeightTag
org.eclipse.jgit.lib.Ref createLightWeightTag(java.lang.String tagName) throws org.eclipse.jgit.api.errors.GitAPIException- Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
getWorkTree
java.io.File getWorkTree()
-
file
java.io.File file(java.lang.Object... path)
-
commit
org.eclipse.jgit.revwalk.RevCommit commit(java.lang.String message) throws org.eclipse.jgit.api.errors.GitAPIException- Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
-