MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / htmlEscape

Function htmlEscape

ssh/ssh.ts:25–29  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

23
24const execFileAsync = promisify(execFile);
25const prefixes = getPrefixes();
26const mainPrefix = prefixes[0];
27
28async function runWithInput(command: string, args: string[], input: string): Promise<void> {
29 await new Promise<void>((resolve, reject) => {
30 const child = execFile(command, args);
31 child.once("error", reject);
32 child.once("close", (code) => {

Callers 9

handleSSHMethod · 0.70
generateSSHKeysMethod · 0.70
listAuthorizedKeysMethod · 0.70
exportAuthorizedKeysMethod · 0.70
changeSSHPortMethod · 0.70
enableRootAccountMethod · 0.70
restartSSHMethod · 0.70
setTargetMethod · 0.70
showInfoMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected