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

Function resolveTuiTargetPath

apps/kimi-code/src/cli/sub/doctor.ts:227–233  ·  view source on GitHub ↗
(
  deps: ResolvedDoctorDeps,
  input: string | undefined,
  cwd: string,
)

Source from the content-addressed store, hash-verified

225}
226
227function resolveTuiTargetPath(
228 deps: ResolvedDoctorDeps,
229 input: string | undefined,
230 cwd: string,
231): string {
232 return input === undefined ? deps.defaultTuiConfigPath() : resolveInputPath(input, cwd);
233}
234
235function resolveInputPath(input: string, cwd: string): string {
236 return isAbsolute(input) ? input : resolve(cwd, input);

Callers 1

buildCheckSpecsFunction · 0.85

Calls 1

resolveInputPathFunction · 0.85

Tested by

no test coverage detected