github.com/mistwind/reviewdog@v0.0.0-20230322024206-9cfa11856d58/diff/testdata/nonewline2.diff.json (about) 1 [ 2 { 3 "PathOld": "nonewline2.old.txt", 4 "PathNew": "nonewline2.new.txt", 5 "TimeOld": "2019-04-19 13:19:50.331526534 +0000", 6 "TimeNew": "2019-04-19 13:19:50.331526534 +0000", 7 "Hunks": [ 8 { 9 "StartLineOld": 1, 10 "LineLengthOld": 4, 11 "StartLineNew": 1, 12 "LineLengthNew": 4, 13 "Section": "", 14 "Lines": [ 15 { 16 "Type": 0, 17 "Content": "No newline at end of both the old and new file (unchanged)", 18 "LnumDiff": 1, 19 "LnumOld": 1, 20 "LnumNew": 1 21 }, 22 { 23 "Type": 2, 24 "Content": "a", 25 "LnumDiff": 2, 26 "LnumOld": 2, 27 "LnumNew": 0 28 }, 29 { 30 "Type": 2, 31 "Content": "a", 32 "LnumDiff": 3, 33 "LnumOld": 3, 34 "LnumNew": 0 35 }, 36 { 37 "Type": 1, 38 "Content": "b", 39 "LnumDiff": 4, 40 "LnumOld": 0, 41 "LnumNew": 2 42 }, 43 { 44 "Type": 1, 45 "Content": "b", 46 "LnumDiff": 5, 47 "LnumOld": 0, 48 "LnumNew": 3 49 }, 50 { 51 "Type": 0, 52 "Content": "\" vim: nofixeol noendofline", 53 "LnumDiff": 6, 54 "LnumOld": 4, 55 "LnumNew": 4 56 } 57 ] 58 } 59 ], 60 "Extended": null 61 } 62 ]