Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/open-code-review
/ functions
Functions
7,484 in github.com/alibaba/open-code-review
⨍
Functions
7,484
◇
Types & classes
809
↓ 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:1463
↓ 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:943
↓ 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:1459
↓ 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:1931
↓ 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:180
↓ 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:182
↓ 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:177
↓ 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
()
internal/session/persist.go:114
↓ 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:161
↓ 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:330
↓ 1 callers
Function
optionalString
(description: string)
plugins/open-code-review/opencode/open-code-review.ts:327
↓ 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:6723
↓ 1 callers
Function
out
(name, value)
scripts/github-actions/post-review-comments.js:137
↓ 1 callers
Function
overlappedPipe
overlappedPipe is the Windows counterpart to a pollable os.Pipe. Anonymous pipes created by syscall.Pipe do not support deadlines; named pipes opened
acp/cmd/ocr-acp/stdio_windows.go:99
↓ 1 callers
Function
overlaps_history
True when ``cur_span`` overlaps any prior bot discussion on the same path.
examples/gitlab_ci/post_review.py:470
↓ 1 callers
Method
page
(position section, cursor, maxBytes int)
internal/behaviortask/observation.go:107
↓ 1 callers
Function
pageList
(total, current)
internal/viewer/static/pager.js:17
↓ 1 callers
Function
panel
()
pages/src/components/HeroSection.test.tsx:23
↓ 1 callers
Function
parseDiffHunkRanges
(patch)
scripts/github-actions/post-review-comments.js:2827
↓ 1 callers
Function
parseEnvOverrides
()
internal/llm/resolver.go:169
↓ 1 callers
Function
parseFilterSet
(s string)
cmd/opencodereview/session_cmd.go:529
↓ 1 callers
Function
parseFrontmatter
(slug: BlogSlug, raw: string)
pages/src/content/blog/index.ts:62
↓ 1 callers
Function
parseInputs
(text)
scripts/github-actions/action-contract.test.js:45
↓ 1 callers
Function
parseMCPHeaders
parseMCPHeaders parses a JSON object of header key-value pairs. Example: {"Authorization": "Bearer $TOKEN", "X-Custom": "value"}
cmd/opencodereview/config_cmd.go:1202
↓ 1 callers
Function
parseMode
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/messages/WebviewMessages.kt:101
↓ 1 callers
Function
parseModelList
(value: string)
extensions/vscode/src/extension/services/configDraft.ts:18
↓ 1 callers
Function
parseNLCases
(t *testing.T, content string)
acp/internal/intent/nl_catalog_test.go:24
↓ 1 callers
Method
parseNatural
parseNatural turns free text into an intent through one LLM tool call. There is no deterministic fallback: a failed call becomes a clarification or a
acp/internal/intent/natural.go:21
↓ 1 callers
Function
parsePorcelain
(output: string)
extensions/vscode/src/extension/services/gitMap.ts:23
↓ 1 callers
Function
parseProviderEntry
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigParse.kt:29
↓ 1 callers
Function
parseProviderEntry
(raw: Record<string, unknown> | undefined)
extensions/vscode/src/extension/services/configParse.ts:6
↓ 1 callers
Function
parseProviderMap
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigParse.kt:46
↓ 1 callers
Function
parseProviderMap
(raw: Record<string, unknown> | undefined)
extensions/vscode/src/extension/services/configParse.ts:21
↓ 1 callers
Function
parseQuotedDiffHeader
parseQuotedDiffHeader extracts the old and new paths from a "diff --git" line in which at least one side is quoted, with the "a/" and "b/" prefixes re
internal/diff/quotedpath.go:140
↓ 1 callers
Method
parseSlash
parseSlash parses a deterministic slash command. It never calls the LLM, so review and /scan keep working while the parsing LLM is down.
acp/internal/intent/slash.go:13
↓ 1 callers
Function
parseStatValue
(value: string)
pages/src/components/HighlightsSection.tsx:20
↓ 1 callers
Function
parseStatus
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/messages/WebviewMessages.kt:107
↓ 1 callers
Function
parse_args
(argv)
examples/gerrit_ci/post_review.py:327
↓ 1 callers
Function
parse_args
(argv)
examples/gitlab_ci/post_review.py:1565
↓ 1 callers
Function
parse_args
(argv=None)
examples/codeup_ci/post_review.py:234
↓ 1 callers
Function
parse_args
(argv)
examples/gitflic_ci/post_review.py:413
↓ 1 callers
Function
parse_diff
Split combined unified diff text into per-file FileDiff sections.
examples/gitflic_ci/post_review.py:124
↓ 1 callers
Function
parse_diff_hunk_inventory
Parse a unified-diff patch into per-hunk new-file line ranges. Returns ``(ranges, complete)``. ``complete`` is False when the patch looks tru
examples/gitlab_ci/post_review.py:495
↓ 1 callers
Function
parse_hunks
Parse one file's unified diff text into a list of Hunks. Lines before the first @@ header (diff --git, ---, +++) are ignored.
examples/gitflic_ci/post_review.py:88
↓ 1 callers
Function
partialReview
()
acp/testdata/mock-ocr/main.go:188
↓ 1 callers
Function
partitionDiffs
partitionDiffs keeps diffs filtered by built-in directory rules available for reporting while preserving the review input as the Included slice. In w
internal/diff/git.go:443
↓ 1 callers
Method
pathExistsAtRef
(root: string, ref: string, relPath: string)
extensions/vscode/src/extension/services/GitService.ts:393
↓ 1 callers
Method
peekFirstLine
peekFirstLine returns the first non-blank line of path, read at s.ref when set (so refs that are not checked out still resolve correctly) and from the
internal/config/rules/sniffer.go:98
↓ 1 callers
Function
pick
(v: string)
extensions/frontend/src/webview/components/Select.tsx:36
↓ 1 callers
Function
plural
(n int, word string)
cmd/opencodereview/output.go:650
↓ 1 callers
Function
position_span
Resolve a GitLab discussion position into a line span (or None).
examples/gitlab_ci/post_review.py:434
↓ 1 callers
Function
post
(discussion)
examples/gitflic_ci/post_review.py:339
↓ 1 callers
Function
postSummary
({ github, owner, repo, prNumber, body, sticky, preserveMarker = false, appSlug = "", resolv
scripts/github-actions/post-review-comments.js:1108
↓ 1 callers
Method
post_discussion
POST a discussion with idempotent reconciliation on ambiguous failures.
examples/gitlab_ci/post_review.py:1016
↓ 1 callers
Function
post_global_comment
POST a GLOBAL_COMMENT to a CodeUp change request. Returns (status, body).
examples/codeup_ci/post_review.py:172
↓ 1 callers
Function
postedBody
(github)
scripts/github-actions/post-review-comments.test.js:653
↓ 1 callers
Method
prepare
(ctx context.Context, request analysisRequest)
cmd/opencodereview/analysis.go:95
↓ 1 callers
Function
prepareAdapterCmd
(cmd *exec.Cmd)
acp/cmd/ocr-acp/adapter_signal_unix_test.go:13
↓ 1 callers
Function
prepareInterruptible
(cmd *exec.Cmd)
acp/internal/contract/interrupt_unix_test.go:13
↓ 1 callers
Method
prepareReviewFileStatus
* Records the files involved in this review and their statuses at review start, for [getReviewFileStatus] to query. * Comment mounting relies on
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:276
← previous
next →
2,501–2,600 of 7,484, ranked by callers