Git·GitHub
대상: ServerRpc (Client에 연결된 서버 전체 작업) RPC 전체 개요와 페이지 목록은 RPC를 참조하세요.gitHubRepository
gitHubRepository()->getById()는 GitHub 저장소 ID로부터 owner/name을 해석하고, lookupBranchPullRequest()는 지정한 head owner와 브랜치를 우선순위대로 지정한 저장소에서 검색합니다. 둘 다 authInfo를 그대로 전달합니다. getById()의 결과는 repository에 owner/name을 포함하며, 찾지 못한 경우 null입니다. Pull Request 검색의 status는 found, no-token, no-pr, lookup-failed 중 하나이며, 알 수 없는 값은 문자열 그대로 유지되므로 예외가 발생하지 않습니다. pullRequest는 찾은 경우 연관 배열이고, 그 외에는 null입니다.