(options)
| 309 | return fakes.hashObject?.() ?? "a".repeat(40); |
| 310 | }, |
| 311 | async catFile(options) { |
| 312 | calls.catFile.push(options); |
| 313 | return ( |
| 314 | fakes.catFile?.() ?? { |
| 315 | oid: "a".repeat(40), |
| 316 | bytes: new TextEncoder().encode(""), |
| 317 | } |
| 318 | ); |
| 319 | }, |
| 320 | async updateRef(options) { |
| 321 | calls.updateRef.push(options); |
| 322 | }, |