(fs: git.FsClient)
| 2215 | } |
| 2216 | |
| 2217 | function assertIsPromiseFsClient(fs: git.FsClient): asserts fs is git.PromiseFsClient { |
| 2218 | if (!('promises' in fs)) { |
| 2219 | throw new Error('Expected fs to be of PromiseFsClient'); |
| 2220 | } |
| 2221 | } |
| 2222 | |
| 2223 | export async function fetchRemoteBranches({ uri, credentialsId }: { uri: string; credentialsId?: string | null }) { |
| 2224 | const [mainRef] = await git.listServerRefs({ |
no outgoing calls
no test coverage detected