github.com/mistwind/reviewdog@v0.0.0-20230322024206-9cfa11856d58/diff/testdata/日本語.diff.json (about)

     1  [
     2    {
     3      "PathOld": "a/日本語.old.txt",
     4      "PathNew": "b/日本語.new.txt",
     5      "TimeOld": "",
     6      "TimeNew": "",
     7      "Hunks": [
     8        {
     9          "StartLineOld": 1,
    10          "LineLengthOld": 3,
    11          "StartLineNew": 1,
    12          "LineLengthNew": 4,
    13          "Section": "",
    14          "Lines": [
    15            {
    16              "Type": 0,
    17              "Content": "変更なし",
    18              "LnumDiff": 1,
    19              "LnumOld": 1,
    20              "LnumNew": 1
    21            },
    22            {
    23              "Type": 2,
    24              "Content": "行削除",
    25              "LnumDiff": 2,
    26              "LnumOld": 2,
    27              "LnumNew": 0
    28            },
    29            {
    30              "Type": 1,
    31              "Content": "行追加",
    32              "LnumDiff": 3,
    33              "LnumOld": 0,
    34              "LnumNew": 2
    35            },
    36            {
    37              "Type": 1,
    38              "Content": "行追加",
    39              "LnumDiff": 4,
    40              "LnumOld": 0,
    41              "LnumNew": 3
    42            },
    43            {
    44              "Type": 0,
    45              "Content": "変更なし",
    46              "LnumDiff": 5,
    47              "LnumOld": 3,
    48              "LnumNew": 4
    49            }
    50          ]
    51        }
    52      ],
    53      "Extended": [
    54        "diff --git \"a/\\346\\227\\245\\346\\234\\254\\350\\252\\236.old.txt\" \"b/\\346\\227\\245\\346\\234\\254\\350\\252\\236.new.txt\"",
    55        "index 5f5a9e4..feeb01f 100644"
    56      ]
    57    }
    58  ]