(scheme: string, repo: string)
| 17 | private _blameRangesCache: Map<string, BlameRange[]>; |
| 18 | |
| 19 | public static getInstance(scheme: string, repo: string) { |
| 20 | const mapKey = `${scheme} ${repo}`; |
| 21 | if (!Repository.instanceMap.has(mapKey)) { |
| 22 | Repository.instanceMap.set(mapKey, new Repository(scheme, repo)); |
| 23 | } |
| 24 | return Repository.instanceMap.get(mapKey)!; |
| 25 | } |
| 26 | |
| 27 | private constructor( |
| 28 | private _scheme: string, |
no test coverage detected