FileDiff constructor

FileDiff({
  1. required String path,
  2. FileManifestEntry? local,
  3. FileManifestEntry? origin,
  4. FileDivergence side = FileDivergence.unknown,
  5. List<int>? localBytes,
  6. List<int>? originBytes,
  7. bool binary = false,
  8. bool tooLarge = false,
})

Creates a file diff result.

Implementation

FileDiff({
  required this.path,
  this.local,
  this.origin,
  this.side = FileDivergence.unknown,
  this.localBytes,
  this.originBytes,
  this.binary = false,
  this.tooLarge = false,
});