()
| 578 | } |
| 579 | |
| 580 | export function getCachedDefaultBranch(): Promise<string> { |
| 581 | return gitWatcher.get('defaultBranch', computeDefaultBranch) |
| 582 | } |
| 583 | |
| 584 | /** Reset the git file watcher state. For testing only. */ |
| 585 | export function resetGitFileWatcher(): void { |