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
flagErrorWithSuggestion
flagErrorWithSuggestion is a SetFlagErrorFunc handler that appends a "Did you mean?" suggestion when the user misspells a flag.
cmd/opencodereview/flag_suggest.go:16
↓ 1 callers
Function
flattenOneLine
flattenOneLine collapses a multi-line string into a single line.
internal/agent/util.go:84
↓ 1 callers
Function
flush
()
scripts/github-actions/post-review-comments.js:2793
↓ 1 callers
Function
flush
()
examples/gitflic_ci/post_review.py:130
↓ 1 callers
Method
flushAndClose
()
internal/session/persist.go:451
↓ 1 callers
Function
foldTurkishDocument
(content: string)
pages/src/content/docs/index.ts:152
↓ 1 callers
Function
fold_comments
Rebuild a ReviewInput with all inline comments folded into the summary. Used when Gerrit rejects the batch (HTTP 400, e.g. a line outside the
examples/gerrit_ci/post_review.py:157
↓ 1 callers
Function
formatDuration
(seconds float64)
internal/viewer/server.go:552
↓ 1 callers
Function
formatLocateNote
(originalLine: number, resolvedLine: number)
extensions/vscode/src/extension/providers/commentAnchor.ts:195
↓ 1 callers
Function
formatMarkdownTables
(document ast.Node, source []byte, options glamouransi.Options)
cmd/opencodereview/markdown_table.go:18
↓ 1 callers
Function
formatModels
(entry: ProviderEntry)
extensions/frontend/src/webview/components/CustomProviderManager.tsx:16
↓ 1 callers
Function
formatNpmDownloads
(n: number)
pages/src/components/HighlightsSection.tsx:13
↓ 1 callers
Function
formatNumber
(n int)
internal/viewer/server.go:507
↓ 1 callers
Function
formatRelative
(date?: Date)
extensions/vscode/src/extension/services/GitService.ts:512
↓ 1 callers
Function
formatScanScope
(paths []string)
internal/session/resume.go:352
↓ 1 callers
Function
formatWarningEntry
(w)
scripts/github-actions/post-review-comments.js:2509
↓ 1 callers
Function
format_comment
Render one inline comment body (same shape as gitflic's format_comment). The Severity/Category header line exists because Gerrit's CommentInput h
examples/gerrit_ci/post_review.py:70
↓ 1 callers
Function
format_comment
Assemble the visible inline-discussion body. The per-comment id tag (when provided) is prepended as an HTML comment so :func:`reconcile_poste
examples/gitlab_ci/post_review.py:259
↓ 1 callers
Function
format_comment
Render an inline discussion body.
examples/gitflic_ci/post_review.py:222
↓ 1 callers
Function
format_comment_fallback
Format a comment for fallback (non-inline) display in a note. Uses ``<details><summary>`` HTML so the suggested change is collapsible. The Be
examples/gitlab_ci/post_review.py:286
↓ 1 callers
Function
format_comment_fallback
Render a comment for the fallback (non-inline) note.
examples/gitflic_ci/post_review.py:232
↓ 1 callers
Function
format_summary_comment
Render ocr's JSON review output as a single Markdown summary comment.
examples/codeup_ci/post_review.py:129
↓ 1 callers
Function
format_warning_entry
Format a single warning as a compact ``file (type): message`` bullet.
examples/gitlab_ci/post_review.py:320
↓ 1 callers
Function
forwardSignal
(child, signal)
bin/ocr.js:29
↓ 1 callers
Function
freeze
(folder, repo, number, revisions, env, offline)
plugins/open-code-review/skills/open-code-review/scripts/review_pr.py:68
↓ 1 callers
Function
freeze
(folder, repo, number, revisions, env, offline)
skills/open-code-review/scripts/review_pr.py:68
↓ 1 callers
Method
freezeRetryReport
freezeRetryReport freezes this run's retry report into the session. Every terminal path calls it just before finalizeManifest, and the normal path onl
internal/agent/agent.go:1357
↓ 1 callers
Function
full
(reason, seen)
scripts/github-actions/post-review-comments.js:3304
↓ 1 callers
Function
fullCoverage
fullCoverage is a v1 manifest coverage object marking every given path as completed, which is what makes an unmatched before-finding read as resolved
internal/viewer/compare_test.go:31
↓ 1 callers
Function
gate
(comment, extra = {})
scripts/github-actions/post-review-comments.test.js:2760
↓ 1 callers
Function
gatedCallbackServer
(handler http.Handler, stall bool)
internal/chatgptauth/login_recovery_test.go:106
↓ 1 callers
Function
generateCtrlBreak
(pid int)
acp/internal/orchestrator/process/winapi_windows.go:228
↓ 1 callers
Function
generatedPresetProviderNames
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ProviderNames.generated.kt:9
↓ 1 callers
Function
get
()
scripts/github-actions/post-review-comments.test.js:7035
↓ 1 callers
Method
get
(id string)
internal/behaviortask/observation.go:160
↓ 1 callers
Function
getAllTags
(language: string)
pages/src/content/blog/index.ts:105
↓ 1 callers
Function
getBlogContent
(slug: BlogSlug, language: string)
pages/src/content/blog/index.ts:90
↓ 1 callers
Method
getBranchDiff
* Changed files between branches. Uses the three-dot range (`from...to`), i.e. comparing from the merge-base, * so new commits on the from branch
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:172
↓ 1 callers
Method
getCachedEnvironment
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/CliService.kt:48
↓ 1 callers
Method
getCommitFiles
Files changed by a single commit. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:181
↓ 1 callers
Function
getHeader
(headers, name)
scripts/github-actions/post-review-comments.js:1919
↓ 1 callers
Function
getInstalledVersion
(binPath)
scripts/update.js:64
↓ 1 callers
Method
getOrLoad
(encName string)
internal/llm/client.go:541
↓ 1 callers
Function
getPrimaryLabel
()
extensions/frontend/src/webview/views/IdleView.tsx:33
↓ 1 callers
Method
getReviewFileStatus
(path: string)
extensions/vscode/src/extension/services/GitService.ts:423
↓ 1 callers
Function
getValidSlugs
(language: string)
pages/src/pages/BlogPage.tsx:31
↓ 1 callers
Function
get_diff_inventory
Cached diff inventory for the 400 line-resolution fallback.
examples/gitlab_ci/post_review.py:1454
↓ 1 callers
Method
get_mr_diffs
Build a diff inventory from ``GET /merge_requests/:iid/diffs``.
examples/gitlab_ci/post_review.py:1065
↓ 1 callers
Function
git
extensions/idea/src/test/kotlin/com/alibaba/opencodereview/idea/services/GitMapTest.kt:416
↓ 1 callers
Function
gitAvailable
extensions/idea/src/test/kotlin/com/alibaba/opencodereview/idea/services/GitMapTest.kt:410
↓ 1 callers
Method
gitLs
(ctx context.Context, args ...string)
internal/scan/provider.go:268
↓ 1 callers
Function
globExt
globExt reports the extension a brace-expanded glob selects on, and whether the glob is extension-based at all. Only a trailing "*.<ext>" segment with
internal/config/rules/system_rules_test.go:2104
↓ 1 callers
Function
gqlErr
(message, extra)
scripts/github-actions/post-review-comments.test.js:6400
↓ 1 callers
Function
graceRoundToolDefs
graceRoundToolDefs returns the subset of tool definitions containing only code_comment and task_done.
internal/reviewtask/task.go:159
↓ 1 callers
Function
graphqlAuthorLogin
(author)
scripts/github-actions/post-review-comments.js:1612
↓ 1 callers
Function
groupCommentsByPath
(comments []model.LlmComment)
internal/scan/agent.go:651
↓ 1 callers
Method
groupHasComments
groupHasComments reports whether any file in the group has comments.
internal/agent/agent.go:1429
↓ 1 callers
Function
groupRetryRequests
groupRetryRequests buckets by review stage, then sorts for stable output.
cmd/opencodereview/output.go:553
↓ 1 callers
Function
groupWithoutLLM
groupWithoutLLM partitions a below-threshold change set locally, in the shape GroupingPlan chose. Both shapes report the file count and churn that dro
internal/agent/grouping.go:115
↓ 1 callers
Function
groupingView
groupingView resolves a grouping task card into a path-labelled view of the model's proposed groups, or nil when either side is missing/unparseable (t
internal/viewer/store.go:420
↓ 1 callers
Method
handle
(msg: WebviewToHost)
extensions/vscode/src/extension/providers/ConfigPanelProvider.ts:70
↓ 1 callers
Method
handle
(msg: WebviewToHost)
extensions/vscode/src/extension/providers/SidebarProvider.ts:60
↓ 1 callers
Function
handleAnalysis
(w http.ResponseWriter, r *http.Request, root, repo, id string)
internal/viewer/analysis.go:100
↓ 1 callers
Method
handleDown
()
cmd/opencodereview/provider_tui.go:1951
↓ 1 callers
Method
handleEnter
()
cmd/opencodereview/provider_tui.go:1851
↓ 1 callers
Method
handleMessage
(msg: WebviewToHost)
extensions/vscode/src/extension/providers/ConfigPanelProvider.ts:79
↓ 1 callers
Function
handleResize
()
pages/src/components/ColorBends.tsx:215
↓ 1 callers
Method
handleUp
()
cmd/opencodereview/provider_tui.go:1924
↓ 1 callers
Method
hasCommandOverride
()
acp/testdata/ocr-stub/main.go:63
↓ 1 callers
Function
hasTraversalPathComponent
(pathspec string)
internal/tool/code_search.go:121
↓ 1 callers
Function
helperGrandchildSecs
helperGrandchildSecs is how long the detached grandchild keeps the inherited pipe open; tests may shorten it, but it must stay well above the assertio
internal/gitcmd/runner_pipe_windows_test.go:108
↓ 1 callers
Function
helperSleepDuration
()
internal/gitcmd/runner_pipe_windows_test.go:115
↓ 1 callers
Method
hooks
()
acp/internal/intent/llm/diagnostics.go:36
↓ 1 callers
Method
html
(webview: vscode.Webview)
extensions/vscode/src/extension/providers/ConfigPanelProvider.ts:151
↓ 1 callers
Method
html
(webview: vscode.Webview)
extensions/vscode/src/extension/providers/SidebarProvider.ts:131
↓ 1 callers
Function
idxOf
(arg: vscode.CommentThread | number)
extensions/vscode/src/extension/commands.ts:19
↓ 1 callers
Function
ignoreAlreadyExited
(err error)
acp/internal/orchestrator/process/winapi_windows.go:253
↓ 1 callers
Method
indexOfThread
(thread: vscode.CommentThread)
extensions/vscode/src/extension/providers/CommentProvider.ts:309
↓ 1 callers
Method
inferJumpBlockReason
Infer missing reasons from comment metadata (for example, L0 usually means an unresolved line number).
extensions/vscode/src/extension/providers/CommentProvider.ts:236
↓ 1 callers
Function
init
()
internal/llm/providers.go:509
↓ 1 callers
Function
initOTLPGRPCProviders
initOTLPGRPCProviders sets up OTLP gRPC exporters for traces and metrics.
internal/telemetry/exporter.go:99
↓ 1 callers
Method
initResumeInfo
(items []model.ScanItem)
internal/scan/agent.go:273
↓ 1 callers
Function
initTraceParentRepo
initTraceParentRepo builds a two-commit git repository so the range diff provider has real work for diff.parse.
internal/agent/trace_parent_test.go:30
↓ 1 callers
Function
inlineIcon
inlineIcon returns the embedded SVG for name as trusted markup, or "" when the name is malformed or the asset is missing. The SVGs ship with fill="cur
internal/viewer/server.go:31
↓ 1 callers
Function
insideComment
(text, at)
scripts/github-actions/post-review-comments.test.js:5584
↓ 1 callers
Method
install
Installs the ocr CLI globally, echoing npm logs line by line, and reports success by exit code. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/CliService.kt:107
↓ 1 callers
Method
install
Install the ocr CLI globally, stream npm logs, and report success based on the exit code.
extensions/vscode/src/extension/services/CliService.ts:77
↓ 1 callers
Function
installLocalStorageMock
()
pages/src/App.test.tsx:11
↓ 1 callers
Function
installLocalStorageMock
()
pages/src/pages/NotFoundPage.test.tsx:21
↓ 1 callers
Function
interruptAdapter
(cmd *exec.Cmd)
acp/cmd/ocr-acp/adapter_signal_unix_test.go:15
↓ 1 callers
Function
interruptProcess
(cmd *exec.Cmd)
acp/internal/contract/interrupt_unix_test.go:15
↓ 1 callers
Function
interruptSignals
()
acp/testdata/mock-ocr/interrupt_unix.go:13
↓ 1 callers
Function
invalidJSON
()
acp/testdata/mock-ocr/main.go:236
↓ 1 callers
Method
invalidate
Call after a CLI install or a user shell-config change so the next lookup probes afresh. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ShellEnv.kt:102
↓ 1 callers
Method
invalidateEnvironmentCache
()
extensions/vscode/src/extension/services/CliService.ts:24
↓ 1 callers
Function
isASCIILetter
(b byte)
internal/diff/git.go:579
↓ 1 callers
Function
isASCIILetter
(b byte)
acp/internal/contract/intent.go:275
↓ 1 callers
Function
isAncestor
(a, b)
scripts/github-actions/post-review-comments.test.js:4283
↓ 1 callers
Function
isAuxiliaryProviderField
(field string)
cmd/opencodereview/config_cmd.go:1051
↓ 1 callers
Method
isAvailable
()
extensions/vscode/src/extension/services/CliService.ts:37
← previous
next →
2,301–2,400 of 7,484, ranked by callers