A quick diff provider provides a {@link Uri uri} to the original state of a modified resource. The editor will use this information to render ad'hoc diffs within the text.
A quick diff provider provides a {@link Uri uri} to the original state of a
modified resource. The editor will use this information to render ad'hoc diffs
within the text.(provide-original-resource quick-diff-provider uri token)Provide a {@link 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.
Provide a {@link 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.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |