Create parser skeleton and utilities

This commit is contained in:
Billy Keyes
2019-03-10 21:48:59 -07:00
parent a445f1eb6e
commit 42914c81df
2 changed files with 90 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
package gitdiff
// File describes changes to a single file. It can be either a text file or a
// binary file.
type File struct {
Fragments []*Fragment
}
// Fragment describes changed lines starting at a specific line in a text file.
type Fragment struct{}