Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface QuickDiffProvider

A quick diff provider provides a uri to the original state of a modified resource. The editor will use this information to render ad'hoc diffs within the text.

Hierarchy

  • QuickDiffProvider

Index

Methods(1)

Methods(1)

Optional provideOriginalResource

  • Provide a Uri to the original resource of any given resource uri.

    Parameters

    • uri: Uri

      The uri of the resource open in a text editor.

    • token: CancellationToken

      A cancellation token.

    Returns ProviderResult<Uri>

    A thenable that resolves to uri of the matching original resource.

Generated by TypeDoc. Maintained by 洛竹