ImmutableGitContext constructor

ImmutableGitContext({
  1. required List<String> partiallyStagedFiles,
  2. required List<String> deletedFiles,
  3. required String? mergeHead,
  4. required String? mergeMode,
  5. required String? mergeMsg,
  6. required String? stashHash,
  7. required bool hidePartiallyStaged,
  8. required List<String> nonStagedFiles,
})

Implementation

ImmutableGitContext({
  required this.partiallyStagedFiles,
  required this.deletedFiles,
  required this.mergeHead,
  required this.mergeMode,
  required this.mergeMsg,
  required this.stashHash,
  required bool hidePartiallyStaged,
  required this.nonStagedFiles,
}) : hidePartiallyStaged =
          hidePartiallyStaged && partiallyStagedFiles.isNotEmpty;