(
oldUri: Uri,
newUri: Uri,
options?: { overwrite?: boolean; ignoreIfExists?: boolean }
)
| 1176 | } |
| 1177 | |
| 1178 | renameFile( |
| 1179 | oldUri: Uri, |
| 1180 | newUri: Uri, |
| 1181 | options?: { overwrite?: boolean; ignoreIfExists?: boolean } |
| 1182 | ): void { |
| 1183 | const key = oldUri.toString(); |
| 1184 | if (!this._edits.has(key)) { |
| 1185 | this._edits.set(key, []); |
| 1186 | } |
| 1187 | this._edits.get(key)!.push({ type: 'rename', oldUri, newUri, options }); |
| 1188 | } |
| 1189 | |
| 1190 | set(uri: Uri, edits: TextEdit[]): void { |
| 1191 | const key = uri.toString(); |