git_version library
Reads GIT version information
Constants
- ERROR_NO_VERSION_TAG → const String
-
"No version-Tag found! (Tagname must start with 'v|V[0-9]')"
Functions
-
describeTag(
String tag) → Future< String> - The command finds the most recent tag that is reachable from a commit. [...]
-
extendedFormatToVersion(
String versionFromGit, { String patchDelimiter: "." }) → String - Converts GIT extended Format (v0.2-204-g507e9bc) to version [...]
-
getSortedGitTags(
) → Future< List< String> > - Returns a list of all the available git tags [...]
-
getVersionTags(
List< String> tags) → List<String> -
Returns all tags starting with
0-9
-
runGit(
List< String> args, { bool throwOnError: true, String processWorkingDir }) → Future<ProcessResult> - Runs the 'git' command