(
fs: MemFS,
refs: Array<{ oldOid: string; newOid: string; refName: string }>,
packBytes: Uint8Array
)
| 71 | refs: Array<{ oldOid: string; newOid: string; refName: string }>, |
| 72 | packBytes: Uint8Array |
| 73 | ): Promise<void> { |
| 74 | const requestData = buildPushRequest(refs, packBytes); |
| 75 | const { result } = await GitReceivePackService.handleReceivePack(fs, requestData); |
| 76 | if (!result.success) { |
| 77 | throw new Error(`Push failed: ${result.errors.join(', ')}`); |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | type ParsedInfoRefs = { |
| 82 | service: string; |
| 83 | headOid: string; |
| 84 | capabilities: string; |
| 85 | refs: Array<{ oid: string; refName: string }>; |
| 86 | }; |
no test coverage detected