GitRepository class
Constructors
- GitRepository({ProcessRunner runner = const ProcessRunner('git')})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getLatestCommitId(
{required String base, required String head, required String path, required int line}) → Future< String> - git log {base}..{head} --format=%H -n 1 -L {line},+1:{path}
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited