MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / getNonEmptyPath

Function getNonEmptyPath

src/utils/derived-data-path.ts:14–16  ·  view source on GitHub ↗
(pathValue?: string | null)

Source from the content-addressed store, hash-verified

12};
13
14function getNonEmptyPath(pathValue?: string | null): string | undefined {
15 return pathValue && pathValue.trim().length > 0 ? pathValue : undefined;
16}
17
18function resolveWorkspaceDerivedDataRoot(cwd: string): string {
19 const workspaceKey = getRuntimeInstanceIfConfigured()?.workspaceKey ?? workspaceKeyForRoot(cwd);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected