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 is a website building & hosting documentation for Clojure/Script libraries
× close