(input: {
readonly headSelector: string;
readonly source?: SourceControlRefSelector;
})
| 66 | } |
| 67 | |
| 68 | export function sourceBranch(input: { |
| 69 | readonly headSelector: string; |
| 70 | readonly source?: SourceControlRefSelector; |
| 71 | }): string { |
| 72 | return input.source?.refName ?? normalizeSourceBranch(input.headSelector); |
| 73 | } |
| 74 | |
| 75 | export function sourceControlRefFromInput(input: { |
| 76 | readonly headSelector: string; |
nothing calls this directly
no test coverage detected