MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / #connectIfNotConnected

Method #connectIfNotConnected

src/fileSystem/ftp.js:338–343  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

336 }
337
338 async #connectIfNotConnected() {
339 const isConnected = await this.#isConnected();
340 if (!isConnected) {
341 await this.connect();
342 }
343 }
344}
345
346export default function Ftp(

Callers 11

listDirMethod · 0.95
readFileMethod · 0.95
writeFileMethod · 0.95
createFileMethod · 0.95
createDirMethod · 0.95
deleteMethod · 0.95
renameMethod · 0.95
moveToMethod · 0.95
existsMethod · 0.95
statMethod · 0.95
getWorkingDirectoryMethod · 0.95

Calls 2

#isConnectedMethod · 0.95
connectMethod · 0.95

Tested by

no test coverage detected