renameFile
fun renameFile(oldUri: Uri, newUri: Uri, options: WorkspaceEdit.RenameFileOptions = definedExternally, metadata: WorkspaceEditEntryMetadata = definedExternally)(source)
Rename a file or folder.
Parameters
oldUri
The existing file.
newUri
The new location.
options
Defines if existing files should be overwritten or be ignored. When overwrite and ignoreIfExists are both set overwrite wins.
metadata
Optional metadata for the entry.