(pathname: string)
| 24 | * Check if request is a Git protocol request |
| 25 | */ |
| 26 | export function isGitProtocolRequest(pathname: string): boolean { |
| 27 | return GIT_INFO_REFS_PATTERN.test(pathname) || GIT_UPLOAD_PACK_PATTERN.test(pathname); |
| 28 | } |
| 29 | |
| 30 | /** |
| 31 | * Extract app ID from Git protocol URL |