SimpleGitAsync class

Constructors

SimpleGitAsync({SimpleProcessOptions? options})

Properties

hashCode int
The hash code for this object.
no setterinherited
runner → SimpleProcessBase
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add({String? file, List<String>? files, bool? skipOnError, HandlerFunction? handlerFn, bool? showOutput}) Future<SimpleProcessResult>
Adds one or more files to be under source control
inherited
addAll({bool? skipOnError, HandlerFunction? handlerFn, bool? showOutput}) Future<SimpleProcessResult>
Add all files
inherited
addAnnotatedTag(String tagName, String tagMessage, {List<String>? options, bool? skipOnError, HandlerFunction? handlerFn, bool? showOutput}) Future<SimpleProcessResult>
Adds an annotated tag to the head of the current branch
inherited
addTag(String tagName, {List<String>? options, bool? skipOnError, HandlerFunction? handlerFn, bool? showOutput}) Future<SimpleProcessResult>
Adds a lightweight tag to the head of the current branch
inherited
branch({List<String>? options, bool? skipOnError, HandlerFunction? handlerFn, bool? showOutput}) Future<SimpleProcessResult>
branch
inherited
checkout({List<String>? options, bool? skipOnError, HandlerFunction? handlerFn, bool? showOutput}) Future<SimpleProcessResult>
checkout
inherited
commit(String message, {List<String>? options, bool? skipOnError, HandlerFunction? handlerFn, bool? showOutput}) Future<SimpleProcessResult>
Commits changes in the current working directory with the supplied message where the message can be either a single string or array of strings to be passed as separate arguments (the git command line interface converts these to be separated by double line breaks)
inherited
fetch({List<String>? options, bool? skipOnError, HandlerFunction? handlerFn, bool? showOutput}) Future<SimpleProcessResult>
Update the local working copy database with changes from the default remote repo and branch, when supplied the options argument can be a standard options object either an array of string commands as supported by the git fetch.
inherited
merge({String? branch, List<String>? options = const [], bool? skipOnError, HandlerFunction? handlerFn, bool? showOutput}) Future<SimpleProcessResult>
branch
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pull({List<String>? options, bool? skipOnError, HandlerFunction? handlerFn, bool? showOutput}) Future<SimpleProcessResult>
Pull
inherited
pullRebase({List<String>? options, bool? skipOnError, HandlerFunction? handlerFn, bool? showOutput}) Future<SimpleProcessResult>
Pull
inherited
push({List<String>? options, bool? skipOnError, HandlerFunction? handlerFn, bool? showOutput}) Future<SimpleProcessResult>
Push
inherited
raw(List<String> args, {bool? skipOnError, HandlerFunction? handlerFn, bool? showOutput}) Future<SimpleProcessResult>
Execute any arbitrary array of commands supported by the underlying git binary. When the git process returns a non-zero signal on exit and it printed something to stderr, the commmand will be treated as an error, otherwise treated as a success.
inherited
rebase({List<String>? options, bool? skipOnError, HandlerFunction? handlerFn, bool? showOutput}) Future<SimpleProcessResult>
Rebases the repo, options should be supplied as an array of string parameters supported by the git rebase command
inherited
status({bool? skipOnError, HandlerFunction? handlerFn, bool? showOutput}) Future<SimpleProcessResult>
Show status
inherited
tag({List<String>? options, bool? skipOnError, HandlerFunction? handlerFn, bool? showOutput}) Future<SimpleProcessResult>
Runs any supported git tag commands with arguments passed as an array of strings
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited