MCPcopy Index your code
hub / github.com/continuedev/continue / getPrimaryConfigFilePath

Function getPrimaryConfigFilePath

core/util/paths.ts:132–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130}
131
132export function getPrimaryConfigFilePath(): string {
133 const configYamlPath = getConfigYamlPath();
134 if (fs.existsSync(configYamlPath)) {
135 return configYamlPath;
136 }
137 return getConfigJsonPath();
138}
139
140export function getConfigTsPath(): string {
141 const p = path.join(getContinueGlobalPath(), "config.ts");

Callers 2

constructorMethod · 0.85
doLoadConfigMethod · 0.85

Calls 2

getConfigYamlPathFunction · 0.85
getConfigJsonPathFunction · 0.85

Tested by

no test coverage detected