( workspaceMetadata: Pick<FrontendWorkspaceMetadata, "projects"> | null | undefined, workspaceRelativePath: string | null | undefined )
| 75 | * each repo under a top-level project-name directory inside the shared container root. |
| 76 | */ |
| 77 | export function resolveRepoRootProjectPath( |
| 78 | workspaceMetadata: Pick<FrontendWorkspaceMetadata, "projects"> | null | undefined, |
| 79 | workspaceRelativePath: string | null | undefined |
| 80 | ): string | undefined { |
| 81 | return resolveWorkspaceRelativeProjectMatch(workspaceMetadata, workspaceRelativePath) |
| 82 | ?.projectPath; |
| 83 | } |
| 84 | |
| 85 | /** |
| 86 | * Repo-root git commands must strip any top-level sibling-project prefix once execution switches to |
no test coverage detected