Skip to content

Interface: CompareResult ​

Defined in: netconf/src/operations/compare.ts:100

How two datastores differ, as the server reported it: an RFC 8072 YANG Patch from source to target.

Properties ​

comment? ​

ts
readonly comment?: string;

Defined in: netconf/src/operations/compare.ts:106

The server's comment on the differences, if any.


edits ​

ts
readonly edits: readonly CompareEdit[];

Defined in: netconf/src/operations/compare.ts:108

The differences, in the server's order (empty for no-matches).


noMatches ​

ts
readonly noMatches: boolean;

Defined in: netconf/src/operations/compare.ts:102

True when the server answered <no-matches/>: nothing was compared, so there are no edits.


patchId? ​

ts
readonly patchId?: string;

Defined in: netconf/src/operations/compare.ts:104

The patch-id of the differences (absent for no-matches).

Released under the MIT Licence.