MCPcopy Create free account
hub / github.com/Tencent/teamai-cli / getConfigPath

Function getConfigPath

src/types.ts:1449–1451  ·  view source on GitHub ↗
(scope: Scope, projectRoot?: string)

Source from the content-addressed store, hash-verified

1447 * Get the config.yaml path for a given scope.
1448 */
1449export function getConfigPath(scope: Scope, projectRoot?: string): string {
1450 return path.join(getTeamaiHome(scope, projectRoot), 'config.yaml');
1451}
1452
1453/**
1454 * Get the state.json path for a config. state.json is per-project machine data

Callers 5

loadLocalConfigForScopeFunction · 0.70
printScopeSummaryFunction · 0.70
initSelfRepoFunction · 0.70
bootstrapSelfRepoFunction · 0.70
scope.test.tsFile · 0.50

Calls 1

getTeamaiHomeFunction · 0.85

Tested by

no test coverage detected