Imperative Web Differences Manager handles the opening of diffs and constructs the dirs and files if necessary

export

### Hierarchy

- WebDiffManager

### Implements

- IWebDiffManager

## Index

### Properties

- mInstance

### Accessors

- webDiffDir
- instance

### Methods

- genHtmlForDiffs
- openDiffs

## Properties

### Static Private mInstance

mInstance: WebDiffManager = null

- Defined in @zowe/imperative/src/utilities/src/diff/WebDiffManager.ts:37

Singleton instance of this class

static
memberof

  WebDiffManager

## Accessors

### Private webDiffDir

- get webDiffDir(): string

- - Defined in @zowe/imperative/src/utilities/src/diff/WebDiffManager.ts:109

  Gets the directory where built copy of web diff launcher is stored

  readonly

  #### Returns string

  Absolute path of directory

### Static instance

- get instance(): WebDiffManager

- - Defined in @zowe/imperative/src/utilities/src/diff/WebDiffManager.ts:44

  Return a singleton instance of this class

  static
  readonly

  #### Returns WebDiffManager

## Methods

### Private genHtmlForDiffs

- genHtmlForDiffs(htmlDiff: string, unifiedStringDiff: string): string

- - Defined in @zowe/imperative/src/utilities/src/diff/WebDiffManager.ts:119

  Returns header HTML for web diff page

  #### Parameters

  - ##### htmlDiff: string

    html diffs of the file changes

  - ##### unifiedStringDiff: string

    unified string of difference between two files

  #### Returns string

### openDiffs

- openDiffs(patchDiff: string): Promise<void>

- Implementation of IWebDiffManager.openDiffs

  - Defined in @zowe/imperative/src/utilities/src/diff/WebDiffManager.ts:57

  Launch diffs page in browser.

  memberof

    WebDiffManager

  #### Parameters

  - ##### patchDiff: string

  #### Returns Promise<void>

Generated using TypeDoc