mirror of
https://github.com/bluekeyes/go-gitdiff
synced 2026-06-08 13:18:30 +00:00
Fix spelling mistakes, add Go Report Card badge
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@ type TextFragment struct {
|
||||
Lines []Line
|
||||
}
|
||||
|
||||
// Header returns the cannonical header of this fragment.
|
||||
// Header returns the canonical header of this fragment.
|
||||
func (f *TextFragment) Header() string {
|
||||
return fmt.Sprintf("@@ -%d,%d +%d,%d @@ %s", f.OldPosition, f.OldLines, f.NewPosition, f.NewLines, f.Comment)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user