MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / makeConfigSpec

Function makeConfigSpec

apps/kimi-code/src/cli/sub/doctor.ts:167–180  ·  view source on GitHub ↗
(
  path: string,
  explicit: boolean,
  deps: ResolvedDoctorDeps,
)

Source from the content-addressed store, hash-verified

165}
166
167function makeConfigSpec(
168 path: string,
169 explicit: boolean,
170 deps: ResolvedDoctorDeps,
171): CheckSpec {
172 return {
173 label: 'config.toml',
174 path,
175 explicit,
176 parse: (text, filePath) => {
177 return deps.validateConfigToml(text, filePath);
178 },
179 };
180}
181
182function makeTuiSpec(path: string, explicit: boolean): CheckSpec {
183 return {

Callers 1

buildCheckSpecsFunction · 0.85

Calls 1

validateConfigTomlMethod · 0.65

Tested by

no test coverage detected