()
| 171 | } |
| 172 | |
| 173 | private getNode(): FtpNode | undefined { |
| 174 | if (vscode.window.activeTextEditor) { |
| 175 | if (vscode.window.activeTextEditor.document.uri.scheme === 'ftp') { |
| 176 | return { resource: vscode.window.activeTextEditor.document.uri, isDirectory: false }; |
| 177 | } |
| 178 | } |
| 179 | return undefined; |
| 180 | } |
| 181 | } |