Package ch.ergon.adam.core.prepost
Class GitVersionTree
java.lang.Object
ch.ergon.adam.core.prepost.GitVersionTree
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetVersionsBetween(String fromVersion, String toVersion) booleanisAncestor(String ancestorCommit, String referenceCommit) booleanisKnownVersion(String commitId) voidwriteToFile(OutputStream outputStream)
-
Constructor Details
-
GitVersionTree
- Throws:
IOException
-
GitVersionTree
- Throws:
IOException
-
-
Method Details
-
writeToFile
-
getVersionsBetween
- Parameters:
fromVersion- the source versiontoVersion- the target version- Returns:
- the versions part of target version tree but not source version tree. Includes toVersion but not fromVersion
-
isKnownVersion
-
isAncestor
-