(gitStatus: GitStatusSummary)
| 59 | }; |
| 60 | |
| 61 | function buildGitStatusText(gitStatus: GitStatusSummary) { |
| 62 | if (gitStatus.error) { |
| 63 | return "Git status unavailable"; |
| 64 | } |
| 65 | return gitStatus.files.length > 0 |
| 66 | ? `${gitStatus.files.length} file${gitStatus.files.length === 1 ? "" : "s"} changed` |
| 67 | : "Working tree clean"; |
| 68 | } |
| 69 | |
| 70 | function resolveShouldLoadGitHubPanelData({ |
| 71 | gitPanelMode, |
no outgoing calls
no test coverage detected