Utilities to get the diff strings and open the diff strings in terminal and in browser

export

### Hierarchy

- DiffUtils

## Index

### Methods

- getDiffString
- openDiffInbrowser

## Methods

### Static getDiffString

- getDiffString(string1: string, string2: string, options: IDiffOptions): Promise<string>

- - Defined in @zowe/imperative/src/utilities/src/diff/DiffUtils.ts:35

  Get the difference between two string in the form of html, unifiedString and terminal output depending upon the options passed into the functions

  #### Parameters

  - ##### string1: string

  - ##### string2: string

  - ##### options: IDiffOptions

  #### Returns Promise<string>

### Static openDiffInbrowser

- openDiffInbrowser(string1: string, string2: string, options?: IDiffNameOptions): Promise<void>

- - Defined in @zowe/imperative/src/utilities/src/diff/DiffUtils.ts:81

  Get the difference between two string in browser

  #### Parameters

  - ##### string1: string

  - ##### string2: string

  - ##### Optional options: IDiffNameOptions

  #### Returns Promise<void>

Generated using TypeDoc