MCPcopy Create free account
hub / github.com/code-pushup/cli / getSourceIdentifier

Function getSourceIdentifier

packages/utils/src/lib/reports/utils.ts:247–249  ·  view source on GitHub ↗
(source: IssueSource)

Source from the content-addressed store, hash-verified

245}
246
247function getSourceIdentifier(source: IssueSource): string {
248 return isFileSource(source) ? source.file : source.url;
249}
250
251export function compareIssues(a: Issue, b: Issue): number {
252 if (a.severity !== b.severity) {

Callers 1

compareIssuesFunction · 0.85

Calls 1

isFileSourceFunction · 0.70

Tested by

no test coverage detected