gg_merge library

Classes

CanMerge
Determines if merging is allowed according to project rules.
DoMerge
Orchestrates check/merge.
GgMerge
The root command for git merge automation and publication
HasGitReferences
Checks whether the project has git: references in pubspec.yaml.
HasLocalReferences
Checks whether the project has local (path:) references in pubspec.yaml.
IsAheadMain
Checks if the branch is ahead main.
IsBehindMain
Checks if the branch is behind main.
LocalMerge
Performs a local merge into main without remote providers.
MergeGit
Performs a merge/pull-request on GitHub or Azure DevOps.
MockCanMerge
Mock for tests
MockDoMerge
Mock for tests
MockHasGitReferences
Mock for unit testing
MockHasLocalReferences
Mock for unit testing
MockIsAheadMain
Mock for unit tests
MockIsBehindMain
Mock for unit tests
MockLocalMerge
Mock for unit tests
MockMergeGit
Mock for unit tests
MockUpdateProjectGit
Mock for unit tests
UpdateProjectGit
Updates current Git project by fetch/pull all branches.