apex-code-coverage-transformer
Version:
Transform Salesforce Apex code coverage JSONs into other formats accepted by SonarQube, GitHub, GitLab, Azure, Bitbucket, etc.
10 lines (9 loc) • 453 B
TypeScript
/**
* Build a cache mapping filenames to their full paths.
* This prevents recursive directory searches for every file in the coverage report.
*
* @param packageDirectories - Array of package directory paths to scan
* @param repoRoot - Repository root path
* @returns Map of filename (without path) to full relative path
*/
export declare function buildFilePathCache(packageDirectories: string[], repoRoot: string): Promise<Map<string, string>>;