()
| 250 | } |
| 251 | |
| 252 | async exists() { |
| 253 | await this.#connectIfNotConnected(); |
| 254 | return new Promise((resolve, reject) => { |
| 255 | ftp.exists(this.#conId, this.#path, resolve, (error) => { |
| 256 | reject(error); |
| 257 | console.error("FTP error: ", error); |
| 258 | }); |
| 259 | }); |
| 260 | } |
| 261 | |
| 262 | async stat() { |
| 263 | if (this.#stat) return this.#stat; |
nothing calls this directly
no test coverage detected