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

Function changeConfigPath

cli/ts/cache.ts:141–146  ·  view source on GitHub ↗
(newPath: string)

Source from the content-addressed store, hash-verified

139}
140
141function changeConfigPath (newPath: string) {
142 log ('The config file now will be loaded from: ', newPath);
143 const currentConfig = loadMainConfigFile ();
144 currentConfig['cachePath'] = newPath;
145 saveConfigFile (currentConfig);
146}
147
148function getChartsFolder () {
149 const cachePath = getCacheDirectory ();

Callers 1

cli.tsFile · 0.85

Calls 3

loadMainConfigFileFunction · 0.85
saveConfigFileFunction · 0.85
logFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…