Git class

Constructors

Git(String pathToPackageRoot)

Properties

hashCode int
The hash code for this object.
no setterinherited
hasRemote bool
no setter
isCommitRequired bool
no setter
pathToGitIgnore String
no setter
pathToGitRoot String?
no setter
pathToPackageRoot String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
usingGit bool
no setter

Methods

add(String pathToFile) → void
addAll(List<String> commitList) → void
addGitIgnore(String fileToIgnore) → void
checkAllFilesCommited() → void
Check that all files are committed.
checkCommit({required bool autoAnswer}) → void
Check that all files are committed.
commit(String message) → void
commitAll(String message) → void
deleteGitTag(Version newVersion) → void
findGitRoot() String?
getCommitMessages(String? fromTag) List<String>
getLatestTag() String?
getUncommited() List<String>
Returns the list of uncommited files with paths relative to the git root.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pull() → void
push(String tag) → void
pushReleaseTag(Version? version, {required bool autoAnswer}) → void
tagExists(String tagName) bool
toString() String
A string representation of this object.
inherited

Operators

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