Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/agynio/gh-pr-review
/ functions
Functions
163 in github.com/agynio/gh-pr-review
⨍
Functions
163
◇
Types & classes
58
↓ 52 callers
Method
Error
()
internal/ghcli/ghcli.go:59
↓ 24 callers
Function
assign
(result interface{}, payload interface{})
internal/review/service_test.go:326
↓ 20 callers
Function
newRootCommand
()
cmd/root.go:16
↓ 19 callers
Function
NewService
NewService constructs a review Service.
internal/review/service.go:60
↓ 18 callers
Function
assignJSON
(result interface{}, payload interface{})
cmd/comments_test.go:207
↓ 15 callers
Function
intPtr
(v int)
internal/report/builder_test.go:242
↓ 14 callers
Method
GraphQL
(query string, variables map[string]interface{}, result interface{})
internal/ghcli/ghcli.go:22
↓ 14 callers
Function
assign
(dst interface{}, payload interface{})
internal/threads/service_test.go:415
↓ 10 callers
Function
NormalizeSelector
NormalizeSelector ensures that either an explicit selector or --pr flag is present and mutually consistent.
internal/resolver/resolver.go:26
↓ 10 callers
Function
Resolve
Resolve interprets a selector, optional repo flag, and host (GH_HOST) into a concrete pull request identity.
internal/resolver/resolver.go:54
↓ 10 callers
Function
assign
(result interface{}, payload interface{})
internal/comments/service_test.go:33
↓ 9 callers
Function
int64Ptr
(v int64)
internal/review/pending_test.go:12
↓ 8 callers
Function
encodeJSON
(cmd *cobra.Command, payload interface{})
cmd/output.go:10
↓ 7 callers
Function
NewService
NewService constructs a Service using the provided API client.
internal/comments/service.go:111
↓ 7 callers
Method
Reply
Reply posts a reply to an existing review thread using the GraphQL API.
internal/comments/service.go:116
↓ 6 callers
Method
Submit
Submit finalizes a pending review with the given event and optional body.
internal/review/service.go:201
↓ 6 callers
Function
strPtr
(v string)
internal/report/builder_test.go:255
↓ 5 callers
Method
AddThread
AddThread adds an inline review comment thread to an existing pending review.
internal/review/service.go:125
↓ 4 callers
Function
BuildReport
BuildReport aggregates reviews and threads into the serialized report format.
internal/report/builder.go:10
↓ 4 callers
Method
Fetch
Fetch generates a review report for the given pull request.
internal/report/service.go:41
↓ 4 callers
Method
LatestPending
LatestPending locates the most recent pending review for the requested reviewer.
internal/review/pending.go:227
↓ 4 callers
Method
List
List fetches review threads for the provided pull request, applies filters, and returns sorted results.
internal/threads/service.go:58
↓ 4 callers
Function
NewService
NewService constructs a report service using the provided GraphQL API client.
internal/report/service.go:36
↓ 4 callers
Method
REST
(method, path string, params map[string]string, body interface{}, result interface{})
internal/ghcli/ghcli.go:21
↓ 4 callers
Method
Resolve
Resolve marks a thread as resolved when permissions and current state allow it.
internal/threads/service.go:148
↓ 4 callers
Method
Start
Start opens a pending review for the specified pull request.
internal/review/service.go:65
↓ 4 callers
Method
Unresolve
Unresolve reopens a thread when permitted.
internal/threads/service.go:153
↓ 3 callers
Method
LatestSubmitted
LatestSubmitted locates the most recent submitted review for the requested reviewer.
internal/review/latest.go:37
↓ 3 callers
Function
mustFindComment
(comments []report.ReportComment, threadID string)
internal/report/builder_test.go:246
↓ 3 callers
Function
parsePullURL
(raw string)
internal/resolver/resolver.go:78
↓ 3 callers
Function
restStub
(t *testing.T, owner, repo, canonical string, number int, nodeID string, next func(method, path string, params
internal/threads/service_test.go:34
↓ 2 callers
Function
NewService
NewService constructs a Service with the provided API client.
internal/threads/service.go:20
↓ 2 callers
Method
changeResolution
(pr resolver.Identity, opts ActionOptions, resolve bool)
internal/threads/service.go:272
↓ 2 callers
Function
clampPerPage
(value int)
internal/review/latest.go:125
↓ 2 callers
Function
newThreadsMutationCommand
(resolve bool)
cmd/threads.go:90
↓ 2 callers
Function
normalizeSide
(side string)
cmd/review.go:191
↓ 2 callers
Function
runGh
runGh executes the `gh` CLI command with provided arguments and optional stdin data.
internal/ghcli/ghcli.go:214
↓ 2 callers
Function
runThreadsMutation
(cmd *cobra.Command, opts *threadsMutationOptions, resolve bool)
cmd/threads.go:147
↓ 2 callers
Function
sanitizeHost
(raw string)
internal/resolver/resolver.go:132
↓ 2 callers
Function
wrapError
(err error, stdout []byte, stderr string)
internal/ghcli/ghcli.go:90
↓ 1 callers
Function
Execute
Execute sets up the root command tree and executes it.
cmd/root.go:11
↓ 1 callers
Function
ExecuteOrExit
ExecuteOrExit runs the command tree and exits with a non-zero status on error.
cmd/root.go:32
↓ 1 callers
Method
PendingSummaries
PendingSummaries retrieves pending reviews for the requested reviewer.
internal/review/pending.go:31
↓ 1 callers
Method
Validate
()
cmd/threads.go:132
↓ 1 callers
Function
allowedStateSet
(states []State)
internal/report/builder.go:148
↓ 1 callers
Method
canonicalizeIdentity
(pr resolver.Identity)
internal/threads/service.go:232
↓ 1 callers
Method
collectThreads
(ctx pullContext)
internal/threads/service.go:204
↓ 1 callers
Method
currentLogin
()
internal/review/latest.go:136
↓ 1 callers
Method
currentViewer
()
internal/review/service.go:235
↓ 1 callers
Function
ensureGraphQLReviewID
(value string)
cmd/review.go:213
↓ 1 callers
Function
executeReviewAddComment
(cmd *cobra.Command, service *reviewsvc.Service, pr resolver.Identity, opts *reviewOptions)
cmd/review.go:115
↓ 1 callers
Function
executeReviewStart
(cmd *cobra.Command, service *reviewsvc.Service, pr resolver.Identity, opts *reviewOptions)
cmd/review.go:107
↓ 1 callers
Function
executeReviewSubmit
(cmd *cobra.Command, service *reviewsvc.Service, pr resolver.Identity, opts *reviewOptions)
cmd/review.go:158
↓ 1 callers
Method
fetchThread
(host, threadID string)
internal/threads/service.go:301
↓ 1 callers
Method
fetchThreads
(nodeID string, after *string)
internal/threads/service.go:189
↓ 1 callers
Function
isNumeric
(selector string)
internal/resolver/resolver.go:109
↓ 1 callers
Method
loadCommentDetails
(id string)
internal/comments/service.go:215
↓ 1 callers
Method
loadPullContext
(pr resolver.Identity)
internal/threads/service.go:252
↓ 1 callers
Method
loadThreadDetails
(id string)
internal/comments/service.go:232
↓ 1 callers
Function
matchesNumber
(selector string, target int)
internal/resolver/resolver.go:99
↓ 1 callers
Function
newCommentsCommand
()
cmd/comments.go:18
↓ 1 callers
Function
newCommentsReplyCommand
(parent *commentsOptions)
cmd/comments.go:41
↓ 1 callers
Function
newReviewCommand
()
cmd/review.go:15
↓ 1 callers
Function
newReviewViewCommand
()
cmd/review_view.go:15
↓ 1 callers
Function
newThreadsCommand
()
cmd/threads.go:14
↓ 1 callers
Function
newThreadsListCommand
()
cmd/threads.go:27
↓ 1 callers
Function
newThreadsResolveCommand
()
cmd/threads.go:82
↓ 1 callers
Function
newThreadsUnresolveCommand
()
cmd/threads.go:86
↓ 1 callers
Function
normalizeEvent
(event string)
cmd/review.go:203
↓ 1 callers
Function
parseState
(raw string)
internal/report/service.go:209
↓ 1 callers
Function
parseStateFilters
(raw []string)
cmd/review_view.go:91
↓ 1 callers
Method
performResolve
(threadID string)
internal/threads/service.go:322
↓ 1 callers
Method
performUnresolve
(threadID string)
internal/threads/service.go:338
↓ 1 callers
Method
pullRequestIdentifiers
(pr resolver.Identity)
internal/review/service.go:258
↓ 1 callers
Function
runCommentsReply
(cmd *cobra.Command, opts *commentsReplyOptions)
cmd/comments.go:82
↓ 1 callers
Function
runReview
(cmd *cobra.Command, opts *reviewOptions)
cmd/review.go:72
↓ 1 callers
Function
runReviewView
(cmd *cobra.Command, opts *reviewViewOptions)
cmd/review_view.go:54
↓ 1 callers
Function
runThreadsList
(cmd *cobra.Command, opts *threadsListOptions)
cmd/threads.go:58
↓ 1 callers
Function
runThreadsResolve
(cmd *cobra.Command, opts *threadsMutationOptions)
cmd/threads.go:139
↓ 1 callers
Function
runThreadsUnresolve
(cmd *cobra.Command, opts *threadsMutationOptions)
cmd/threads.go:143
↓ 1 callers
Function
splitRepo
(repoFlag string)
internal/resolver/resolver.go:121
Method
ContainsLower
ContainsLower reports whether any captured message fields contain the target substring (case-insensitive).
internal/ghcli/ghcli.go:71
Method
Error
()
internal/ghcli/ghcli.go:36
Method
GraphQL
GraphQL issues a GraphQL operation through `gh api graphql`.
internal/ghcli/ghcli.go:153
Method
GraphQL
(query string, variables map[string]interface{}, result interface{})
internal/threads/service_test.go:27
Method
GraphQL
(query string, variables map[string]interface{}, result interface{})
internal/comments/service_test.go:26
Method
GraphQL
(query string, variables map[string]interface{}, result interface{})
internal/review/service_test.go:26
Method
GraphQL
(query string, variables map[string]interface{}, result interface{})
internal/report/service_test.go:139
Method
GraphQL
(query string, variables map[string]interface{}, result interface{})
cmd/comments_test.go:28
Method
GraphQL
(query string, variables map[string]interface{}, result interface{})
cmd/review_view_test.go:163
Method
REST
REST invokes the REST API using `gh api`. The result parameter must be a pointer and will be unmarshaled from JSON.
internal/ghcli/ghcli.go:113
Method
REST
(method, path string, params map[string]string, body interface{}, result interface{})
internal/threads/service_test.go:20
Method
REST
(method, path string, params map[string]string, body interface{}, result interface{})
internal/comments/service_test.go:19
Method
REST
(method, path string, params map[string]string, body interface{}, result interface{})
internal/review/service_test.go:19
Method
REST
(string, string, map[string]string, interface{}, interface{})
internal/report/service_test.go:134
Method
REST
(method, path string, params map[string]string, body interface{}, result interface{})
cmd/comments_test.go:21
Method
REST
(string, string, map[string]string, interface{}, interface{})
cmd/review_view_test.go:158
Function
TestBuildReportAggregatesThreads
(t *testing.T)
internal/report/builder_test.go:12
Function
TestBuildReportFilterOptions
(t *testing.T)
internal/report/builder_test.go:174
Function
TestCommentsCommandRootShowsGuidance
(t *testing.T)
cmd/comments_test.go:35
next →
1–100 of 163, ranked by callers