(name)
| 176 | } |
| 177 | |
| 178 | async createDir(name) { |
| 179 | await this.#connectIfNotConnected(); |
| 180 | return new Promise((resolve, reject) => { |
| 181 | ftp.createDirectory( |
| 182 | this.#conId, |
| 183 | Path.join(this.#path, name), |
| 184 | async () => { |
| 185 | resolve(Url.join(this.#origin, this.#path, name)); |
| 186 | }, |
| 187 | reject, |
| 188 | ); |
| 189 | }); |
| 190 | } |
| 191 | |
| 192 | async delete() { |
| 193 | await this.#connectIfNotConnected(); |
nothing calls this directly
no test coverage detected