MCPcopy
hub / github.com/inkeep/open-knowledge / resolveContentDir

Function resolveContentDir

packages/cli/src/config/paths.ts:5–7  ·  view source on GitHub ↗
(config: Config, cwd: string)

Source from the content-addressed store, hash-verified

3import type { Config } from './schema.ts';
4
5export function resolveContentDir(config: Config, cwd: string): string {
6 return resolve(cwd, config.content.dir);
7}
8
9export function resolveLockDir(projectDir: string): string {
10 return getLocalDir(projectDir);

Callers 7

paths.test.tsFile · 0.90
diagnoseCommandFunction · 0.50
bootStartServerFunction · 0.50
startUiServerFunction · 0.50
initCommandFunction · 0.50
previewCommandFunction · 0.50
resolveServerUrlForCwdFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected