(fs: git.FsClient)
| 2319 | } |
| 2320 | |
| 2321 | function assertIsPromiseFsClient(fs: git.FsClient): asserts fs is git.PromiseFsClient { |
| 2322 | if (!('promises' in fs)) { |
| 2323 | throw new Error('Expected fs to be of PromiseFsClient'); |
| 2324 | } |
| 2325 | } |
| 2326 | |
| 2327 | export async function fetchRemoteBranches({ uri, credentialsId }: { uri: string; credentialsId?: string | null }) { |
| 2328 | const [mainRef] = await git.listServerRefs({ |
no outgoing calls
no test coverage detected