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

Method get

ssh/ssh.ts:190–195  ·  view source on GitHub ↗
(key: string, defaultValue?: string)

Source from the content-addressed store, hash-verified

188 this.initLock = true;
189
190 try {
191 this.configPath = resolvePluginAssetFile({
192 plugin: "ssh",
193 fileName: "ssh_config.json",
194 legacyDirs: ["sshkey"],
195 legacyFiles: [{ dir: "sshkey", fileName: "sshkey_config.json" }],
196 });
197 this.db = await JSONFilePreset<Record<string, any>>(
198 this.configPath,

Callers 15

fetchDetailFunction · 0.45
downloadCliFunction · 0.45
getIpApiFunction · 0.45
checkNetworkConnectivityFunction · 0.45
saveSpeedtestImageFunction · 0.45
EpicPluginClass · 0.45
fetchFromWallhavenFunction · 0.45
fetchFromFallbackFunction · 0.45
getWallpaperFunction · 0.45
getNodeInfoFunction · 0.45
getWebsiteInfoFunction · 0.45
loadRemoteMappingsMethod · 0.45

Calls 1

initMethod · 0.95

Tested by

no test coverage detected