generatePullRequestNodeID converts an int64 databaseID and repoID to a GraphQL Node ID format with the "PR_" prefix for pull requests
(repoID, pullRequestID int64)
| 546 | // generatePullRequestNodeID converts an int64 databaseID and repoID to a GraphQL Node ID format |
| 547 | // with the "PR_" prefix for pull requests |
| 548 | func generatePullRequestNodeID(repoID, pullRequestID int64) string { |
| 549 | return "PR_" + api.EncodeNodeID(0, repoID, pullRequestID) |
| 550 | } |
| 551 | |
| 552 | func generateUserNodeID(userID int64) string { |
| 553 | return "U_" + api.EncodeNodeID(0, userID) |
no test coverage detected