GitDiff v0.6.3 GitDiff.Patch View Source

Every 'git diff' command generates one or more patches.

Link to this section Summary

Functions

Defines the Patch struct.

Link to this section Functions

Link to this function

%GitDiff.Patch{}

View Source (struct)

Defines the Patch struct.

  • :from - The file name preimage.
  • :to - The file name postimages.
  • :headers - A list of headers for the patch.
  • :chunks - A list of chunks of changes contained in this patch. See GitDiff.Chunk.