Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/open-code-review
/ functions
Functions
7,599 in github.com/alibaba/open-code-review
⨍
Functions
7,599
◇
Types & classes
815
↓ 1 callers
Function
lookup
(number, repo, cwd, env)
plugins/open-code-review/skills/open-code-review/scripts/review_pr.py:43
↓ 1 callers
Method
lookupDiff
lookupDiff returns the synthetic Diff for a path, used by reviewtask.Runner to resolve code_comment line numbers against the scanned file content.
internal/scan/agent.go:414
↓ 1 callers
Function
main
()
scripts/install.js:156
↓ 1 callers
Function
main
()
scripts/update.js:129
↓ 1 callers
Function
main
(argv = process.argv.slice(2), env = process.env)
scripts/github-actions/check-translation-sync.js:345
↓ 1 callers
Function
main
()
scripts/github-actions/check-pr-commit-policy.test.js:469
↓ 1 callers
Function
main
()
scripts/github-actions/post-review-comments.test.js:2947
↓ 1 callers
Function
main
(argv = process.argv.slice(2), env = process.env)
scripts/github-actions/check-plugin-contract.js:1108
↓ 1 callers
Function
main
()
scripts/github-actions/check-translation-sync.test.js:283
↓ 1 callers
Function
main
(argv=None)
examples/gerrit_ci/post_review.py:352
↓ 1 callers
Function
main
(argv=None)
examples/gitlab_ci/post_review.py:1755
↓ 1 callers
Function
main
(argv=None)
examples/codeup_ci/post_review.py:264
↓ 1 callers
Function
main
(argv=None)
examples/gitflic_ci/post_review.py:440
↓ 1 callers
Function
main
()
acp/cmd/ocr-acp/main.go:21
↓ 1 callers
Function
main_
()
scripts/github-actions/check-plugin-contract.test.js:1070
↓ 1 callers
Function
makeUnreadable
(t *testing.T, path string)
cmd/opencodereview/session_rm_test.go:248
↓ 1 callers
Function
make_dry_run_poster
Return post(review_input) that prints instead of calling Gerrit.
examples/gerrit_ci/post_review.py:269
↓ 1 callers
Function
make_dry_run_poster
Return a :class:`DryRunPoster`.
examples/gitlab_ci/post_review.py:1301
↓ 1 callers
Function
make_dry_run_poster
Return a post(discussion) that prints instead of calling the API.
examples/gitflic_ci/post_review.py:358
↓ 1 callers
Function
make_poster
Return post(review_input) that POSTs to the Gerrit set-review endpoint. Auth is preemptive basic auth; the parsed (XSSI-stripped) response JSON i
examples/gerrit_ci/post_review.py:218
↓ 1 callers
Function
make_poster
Return a :class:`GitLabPoster` bound to the given MR endpoint.
examples/gitlab_ci/post_review.py:1253
↓ 1 callers
Function
make_poster
Return a post(discussion) that POSTs to the GitFlic Discussions API.
examples/gitflic_ci/post_review.py:330
↓ 1 callers
Function
manifestReusableFingerprints
manifestReusableFingerprints collects the fingerprints the parent manifest settled as completed or reused. Both count: a parent that itself resumed ca
internal/session/resume.go:261
↓ 1 callers
Function
manualProtocolIndex
manualProtocolIndex is cpProtocolIndex for the Manual form's shorter list. A config that names bedrock in llm.protocol is unusable there and lands on
cmd/opencodereview/provider_tui.go:211
↓ 1 callers
Function
manualURLFormError
manualURLFormError words a rejected Base URL so the manual form can keep the cursor on the URL field; applyManualConfig still validates at save time.
cmd/opencodereview/provider_tui.go:1146
↓ 1 callers
Function
mapResponsesFinishReason
mapResponsesFinishReason applies the coarse-grained mapping from decision 8: - completed -> stop - incomplete -> length - failed/cancelled -> error -
internal/llm/responses_client.go:644
↓ 1 callers
Function
mapsEqual
(a, b map[string]string)
internal/llm/resolver_test.go:1709
↓ 1 callers
Method
markChunkReloadAttempt
()
pages/src/components/ErrorBoundary.tsx:55
↓ 1 callers
Method
markCompleted
markCompleted/markReused/markFailed are nil-safe manifest transitions. A non-nil error here is an internal invariant violation (a mis-keyed or duplica
internal/agent/agent.go:1185
↓ 1 callers
Method
markFailed
(d model.Diff, class session.FailureClass, reason string)
internal/agent/agent.go:1205
↓ 1 callers
Method
markReused
(d model.Diff)
internal/agent/agent.go:1195
↓ 1 callers
Function
markdownColumnWidths
(rows [][]string, columns, budget int)
cmd/opencodereview/markdown_table.go:184
↓ 1 callers
Function
marshaledLen
(v any)
internal/llm/client.go:203
↓ 1 callers
Function
matchIgnoreComponent
(pattern, name string, ignoreCase bool)
internal/diff/gitignore_match.go:106
↓ 1 callers
Method
matchProjectRuleDetail
(pr *ProjectRule, path, source string)
internal/config/rules/system_rules.go:524
↓ 1 callers
Function
mergeReviewSlots
(prev *pendingSlots, raw *rawIntent)
acp/internal/intent/natural.go:158
↓ 1 callers
Function
mergeScanSlots
Omitted lists inherit compatible pending state; explicit lists (including empty arrays) replace it. Never concatenate targets or command options.
acp/internal/intent/natural.go:145
↓ 1 callers
Method
missingBundle
* The bundle is missing from the jar — almost always because the frontend was not built. * The copy goes through [HostStrings] and must not be ha
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/WebviewHtml.kt:103
↓ 1 callers
Function
missingField
Messages like "{type} is missing {field}" differ only in two arguments and are all built here, * avoiding repeated copy construction at each call si
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/messages/WebviewMessages.kt:128
↓ 1 callers
Function
ml
(a, b)
scripts/github-actions/post-review-comments.test.js:1779
↓ 1 callers
Function
mockReload
()
pages/src/components/ErrorBoundary.test.tsx:12
↓ 1 callers
Function
mockReload
()
pages/src/pages/DocsPage.test.tsx:161
↓ 1 callers
Function
mock_ocr
()
acp/testdata/python-client-smoke.py:27
↓ 1 callers
Method
mountDiffPanels
* Attach inline comment panels to a diff view. Called by GitService.diffViewerReady after showDiff. * Find editor instances for the document thro
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentService.kt:580
↓ 1 callers
Function
mountableOrUnresolved
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentAnchor.kt:185
↓ 1 callers
Method
mr_url
Best-effort MR web URL (cached). None when unavailable.
examples/gitlab_ci/post_review.py:1089
↓ 1 callers
Function
mustStat
(t *testing.T, path string)
internal/pathutil/path_test.go:168
↓ 1 callers
Function
newBlockingScanCompressionClient
()
internal/scan/agent_test.go:409
↓ 1 callers
Function
newCallbackServer
(handler http.Handler)
internal/chatgptauth/oauth.go:41
↓ 1 callers
Function
newModelTokenizerCache
()
internal/llm/client.go:537
↓ 1 callers
Function
newOwnerTestClient
(t *testing.T, ctx context.Context, name, argument string)
internal/mcp/provider_owner_test.go:84
↓ 1 callers
Function
newProbeAgent
newProbeAgent builds a scan Agent whose only non-default piece is the probe client, so the assertions describe NewAgent's real wiring.
internal/scan/retry_identity_test.go:56
↓ 1 callers
Function
newSlots
(action string)
acp/internal/intent/parser.go:106
↓ 1 callers
Function
new_comment_id
Random per-comment id embedded as an HTML comment for idempotency.
examples/gitlab_ci/post_review.py:1638
↓ 1 callers
Function
nextSignificantByte
nextSignificantByte returns the index of the first non-whitespace byte at or after i, or -1 when nothing but whitespace remains.
internal/tool/comment_args_repair.go:155
↓ 1 callers
Function
nextToolCallID
(kind string)
acp/internal/adapter/presentation/tool_ids.go:27
↓ 1 callers
Function
nonZeroExit
()
acp/testdata/mock-ocr/main.go:242
↓ 1 callers
Function
normalizeAWSSetting
normalizeAWSSetting trims the value and rejects the shapes AWS itself will not accept. Region names are deliberately not checked against a fixed list:
cmd/opencodereview/config_cmd.go:944
↓ 1 callers
Function
normalizeCodeCommentCategory
(category string)
internal/tool/code_comment.go:182
↓ 1 callers
Function
normalizeCodeCommentSeverity
(severity string)
internal/tool/code_comment.go:190
↓ 1 callers
Function
normalizeCommentPath
(p string)
internal/tool/code_comment.go:170
↓ 1 callers
Function
normalizeHeadingText
(text: string)
pages/src/utils/headingId.ts:68
↓ 1 callers
Function
normalizePath
normalizePath cleans a user-supplied relative path and rejects anything that escapes the target root. filepath.Clean collapses "." and "..", but it on
acp/internal/contract/intent.go:239
↓ 1 callers
Function
normalizeProtocol
(raw string)
acp/internal/intent/llm/resolve.go:120
↓ 1 callers
Function
normalizeSnippet
normalizeSnippet collapses every whitespace run to a single space so that re-indentation and line rewrapping do not change a finding's identity. Seman
internal/session/compare.go:109
↓ 1 callers
Method
normalized
()
acp/internal/orchestrator/types.go:90
↓ 1 callers
Function
normalizedCommentSeverity
(severity string)
internal/viewer/server.go:237
↓ 1 callers
Method
notFoundMessage
notFoundMessage names the paths that had no diff and, when the snapshot holds other paths, names those too: a request for a path outside the change se
internal/tool/file_read_diff.go:111
↓ 1 callers
Method
notifyConfig
(config: OcrConfig | null)
extensions/vscode/src/extension/providers/ConfigPanelProvider.ts:65
↓ 1 callers
Function
ntResumeProcess
(pid int)
acp/internal/orchestrator/process/winapi_windows.go:133
↓ 1 callers
Function
num
(v)
scripts/github-actions/post-review-comments.js:1437
↓ 1 callers
Function
numberedCodeLines
numberedCodeLines pairs each line of existing_code with its file line number. Num is left at 0 on every line whenever the reported range and the snip
internal/viewer/server.go:298
↓ 1 callers
Function
observeAttempt
observeAttempt turns one transport result into an AttemptRecord. Classification runs whenever the status is non-2xx or the transport failed. The non-
internal/llm/retry_observer.go:57
↓ 1 callers
Function
ocrInvokingSteps
()
scripts/github-actions/action-contract.test.js:1917
↓ 1 callers
Function
officialAPIKeyEnvSetHintLine
(envVar string, hasSavedKey bool)
cmd/opencodereview/provider_tui.go:2602
↓ 1 callers
Function
old_line_for
Map a new-side line number to the corresponding old-side line. Lines added by the diff have no old counterpart, so they are anchored to the c
examples/gitflic_ci/post_review.py:178
↓ 1 callers
Method
onConfigChanged
After the config panel changes the config, push the new config to the sidebar — which relies * on it to decide whether a review can start. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/ReviewProjectService.kt:178
↓ 1 callers
Method
onDone
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ReviewSession.kt:31
↓ 1 callers
Method
onDone
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/SidebarRouter.kt:193
↓ 1 callers
Method
onLog
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ReviewSession.kt:30
↓ 1 callers
Method
onLog
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/SidebarRouter.kt:188
↓ 1 callers
Function
onMessage
(handler: (msg: HostToWebview) => void)
extensions/frontend/src/webview/bridge.vsc.ts:16
↓ 1 callers
Function
onModeChange
(mode: ReviewMode)
extensions/frontend/src/webview/App.tsx:34
↓ 1 callers
Method
onState
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ReviewSession.kt:29
↓ 1 callers
Method
onSync
(fn: (s: CommentSyncState[]) => void)
extensions/vscode/src/extension/providers/CommentProvider.ts:39
↓ 1 callers
Method
open
Opens the panel; brings it to the front when already open. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/ConfigPanelHost.kt:20
↓ 1 callers
Method
open
(focus?: ConfigPanelFocus)
extensions/vscode/src/extension/providers/ConfigPanelProvider.ts:26
↓ 1 callers
Function
openAIHeaders
(ep Endpoint)
acp/internal/intent/llm/client.go:256
↓ 1 callers
Function
openBrowserURL
(ctx context.Context, target string)
internal/chatgptauth/browser_unix.go:14
↓ 1 callers
Method
openConfigPanel
* Opens the config panel. When it is already open, recreate nothing and just resend * `configPanelFocus` to jump to the target step — rebuilding
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/ReviewProjectService.kt:159
↓ 1 callers
Method
openDiff
Open a review file in the native VS Code diff view. Each of the three modes determines its left and right sides.
extensions/vscode/src/extension/services/GitService.ts:270
↓ 1 callers
Method
openDiffEditor
(mount: MountableCommentAnchor)
extensions/vscode/src/extension/providers/CommentProvider.ts:241
↓ 1 callers
Function
openSearch
()
pages/src/pages/DocsPage.test.tsx:153
↓ 1 callers
Function
openThread
(access uint32, threadID uint32)
acp/internal/orchestrator/process/winapi_windows.go:211
↓ 1 callers
Function
optionalPositiveInt
(description: string)
plugins/open-code-review/opencode/open-code-review.ts:429
↓ 1 callers
Function
optionalString
(description: string)
plugins/open-code-review/opencode/open-code-review.ts:426
↓ 1 callers
Function
orderedPathRulePatterns
orderedPathRulePatterns returns the embedded path_rule_map's globs in declaration order. The sibling helper decodes into a map because membership is a
internal/config/rules/rule_docs_table_test.go:174
↓ 1 callers
Function
orderedToolParameters
(raw json.RawMessage)
internal/agent/agent.go:2186
↓ 1 callers
Function
ours
(over)
scripts/github-actions/post-review-comments.test.js:6844
↓ 1 callers
Function
out
(name, value)
scripts/github-actions/post-review-comments.js:140
← previous
next →
2,501–2,600 of 7,599, ranked by callers