RepoEntry constructor

const RepoEntry({
  1. required File file,
  2. required bool partiallyStaged,
  3. required Directory gitRoot,
})

Creates a new repo entry.

Implementation

const factory RepoEntry({
  /// The file in the local file system that this entry represents.
  required File file,

  /// Specifies, whether the file is partially or fully staged.
  required bool partiallyStaged,

  /// The root folder of the git repository
  required Directory gitRoot,
}) = _RepoEntry;