Invantive 문서Invantive Cloud의 일부
Invantive 지원 포럼로그인 / 회원가입

Patch File Format

This page is partly available in your language; the rest is shown in the original version.

A patch file is an XML document, normally saved with the extension .patch. It consists of a header and a body.

헤더

The header holds:

  • the identification of the original object: its kind, its identifying values and, when it was taken from the history, its moment;
  • the identification of the resulting object, in the same way;
  • the comment entered when the patch was created.

본문

The body holds one entry per object that changed:

  • the identification of the object by its kind and its natural key;
  • the action: Insert, Update or Delete;
  • for every field that changed, the change itself.

A changed text is stored as the characters inserted and deleted at given positions, not as the whole new value, which is what lets a patch apply to a text that differs slightly. A value of another type is stored as the old value removed and the new value inserted. Fields of the natural key are not stored as changes, because they identify the object.

릴리즈 노트