Skip to content

Diff

Fields

  • base_branchstringrequired

    The default branch.

  • basestringrequired

    The default branch's head.

  • headstringrequired

    The branch head.

  • merge_basestringrequired

    Where the diff starts (three-dot).

  • truncatedbooleanrequired

    True when any file has patch_omitted: budget.

  • filesarray ofobjectrequired
    12 properties
    • pathstringrequired
    • statusaddedormodifiedordeletedorrenamedrequired
    • binarybooleanrequired
    • old_pathoptionalstring

      Only for renamed.

    • old_shaoptionalstring | null
    • new_shaoptionalstring | null
    • old_modeoptionalstring | null
    • new_modeoptionalstring | null
    • additionsoptionalinteger | null
    • deletionsoptionalinteger | null
    • hunksoptionalarray ofobject

      Only with hunks=1.

      5 properties
      • old_startintegerrequired
      • old_linesintegerrequired
      • new_startintegerrequired
      • new_linesintegerrequired
      • linesarray ofstringrequired

        Each line starts with +, -, , or \ (no newline at end of file).

    • patch_omittedoptionalbinaryortoo_largeorbudget
  • statsoptionalobject
    3 properties
    • filesoptionalinteger
    • additionsoptionalinteger
    • deletionsoptionalinteger
Navigation

Type to search…

↑↓ navigate↵ selectEsc close