File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/client/common/platform Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -133,13 +133,14 @@ export class TempFileSystem {
133
133
}
134
134
135
135
// This is the parts of the vscode.workspace.fs API that we use here.
136
+ // See: https://code.visualstudio.com/api/references/vscode-api#FileSystem
137
+ // Note that we have used all the API functions *except* "rename()".
136
138
interface INewAPI {
137
139
copy ( source : vscode . Uri , target : vscode . Uri , options ?: { overwrite : boolean } ) : Thenable < void > ;
138
140
createDirectory ( uri : vscode . Uri ) : Thenable < void > ;
139
141
delete ( uri : vscode . Uri , options ?: { recursive : boolean ; useTrash : boolean } ) : Thenable < void > ;
140
142
readDirectory ( uri : vscode . Uri ) : Thenable < [ string , FileType ] [ ] > ;
141
143
readFile ( uri : vscode . Uri ) : Thenable < Uint8Array > ;
142
- //rename(source: vscode.Uri, target: vscode.Uri, options?: {overwrite: boolean}): Thenable<void>;
143
144
stat ( uri : vscode . Uri ) : Thenable < FileStat > ;
144
145
writeFile ( uri : vscode . Uri , content : Uint8Array ) : Thenable < void > ;
145
146
}
You can’t perform that action at this time.
0 commit comments