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

Method exec

src/plugins/sftp/index.d.ts:27–27  ·  view source on GitHub ↗

* Executes command on ssh-server * @param command * @param onSucess * @param onFail

(command: String, onSucess: (res: ExecResult)=>void, onFail: (err: any) => void)

Source from the content-addressed store, hash-verified

25 * @param onFail
26 */
27 exec(command: String, onSucess: (res: ExecResult)=>void, onFail: (err: any) => void): void;
28 /**
29 * Connects to SFTP server
30 * @param host Hostname of the server

Callers 15

isPaidVersionFunction · 0.65
config.jsFile · 0.65
JSXElementFunction · 0.65
applyPluginUpdatesFunction · 0.65
main.jsFile · 0.65
index.jsFile · 0.65
joinFunction · 0.65
safeFunction · 0.65
pathnameFunction · 0.65
getProtocolFunction · 0.65
initEncodingsFunction · 0.65
execDecodeFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected