GitService class
- Mixed-in types
Constructors
- GitService.new({required Logger logger, required FileSystem fs, required bool debug, required Process process})
-
const
Properties
- debug → bool
-
final
- fs → FileSystem
-
final
-
gitDiffArgs
→ List<
String> -
no setter
- gitDir → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- logger → Logger
-
final
- process → Process
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
List< String> filePaths) → Future<void> -
applyModifications(
List< String> existing) → Future<void> -
deletedFiles(
) → Future< List< String> > -
diffFiles(
{required List< String> diffArgs, required String diffFilters}) → Future<List< String> > -
hasAtLeastOneCommit(
) → Future< bool> -
inherited
-
isGitInstalled(
) → Future< bool> -
inherited
-
isGitRepository(
) → Future< bool> -
inherited
-
nonStagedFiles(
) → Future< List< String> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
partiallyStagedFiles(
) → Future< List< String> > -
prepareFiles(
) → Future< GitContext> -
processRenames(
List< String> filePaths, {bool includeRenameFrom = true}) → List<String> -
From list of files, split renames and flatten into
two files
to
NULfrom
. -
setHooksDir(
) → Future< bool> -
stagedFiles(
) → Future< List< String> > -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited