MCPcopy Create free account
hub / github.com/ccxt/ccxt / saveConfigFile

Function saveConfigFile

cli/ts/cache.ts:59–63  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

57}
58
59function saveConfigFile (config) {
60 const cachePath = getCacheDirectory ();
61 const configFilePath = path.join (cachePath, 'config.json');
62 fs.writeFileSync (configFilePath, JSON.stringify (config, null, 2));
63}
64
65function getExchangeSettings (exchangeId: string) {
66 let settingsPath = path.join (getCacheDirectory (), 'config.json');

Callers 1

changeConfigPathFunction · 0.85

Calls 1

getCacheDirectoryFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…