GitIndexEntry constructor

GitIndexEntry({
  1. required DateTime cTime,
  2. required DateTime mTime,
  3. required int dev,
  4. required int ino,
  5. required GitFileMode mode,
  6. required int uid,
  7. required int gid,
  8. required int fileSize,
  9. required GitHash hash,
  10. GitFileStage stage = GitFileStage.Merged,
  11. required String path,
  12. bool skipWorkTree = false,
  13. bool intentToAdd = false,
})

Implementation

GitIndexEntry({
  required this.cTime,
  required this.mTime,
  required this.dev,
  required this.ino,
  required this.mode,
  required this.uid,
  required this.gid,
  required this.fileSize,
  required this.hash,
  this.stage = GitFileStage.Merged,
  required this.path,
  this.skipWorkTree = false,
  this.intentToAdd = false,
});