mirror of
https://github.com/bluekeyes/go-gitdiff
synced 2026-06-08 13:18:30 +00:00
Create parser skeleton and utilities
This commit is contained in:
@@ -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{}
|
||||
Reference in New Issue
Block a user