Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/open-code-review
/ functions
Functions
7,169 in github.com/alibaba/open-code-review
⨍
Functions
7,169
◇
Types & classes
774
↓ 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
full
(reason, seen)
scripts/github-actions/post-review-comments.js:3301
↓ 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:2756
↓ 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
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:1916
↓ 1 callers
Function
getInstalledVersion
(binPath)
scripts/update.js:64
↓ 1 callers
Method
getOrLoad
(encName string)
internal/llm/client.go:540
↓ 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:1445
↓ 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:2011
↓ 1 callers
Function
gqlErr
(message, extra)
scripts/github-actions/post-review-comments.test.js:6396
↓ 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:1609
↓ 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:1393
↓ 1 callers
Function
groupRetryRequests
groupRetryRequests buckets by review stage, then sorts for stable output.
cmd/opencodereview/output.go:521
↓ 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:439
↓ 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
Method
handleDown
()
cmd/opencodereview/provider_tui.go:1936
↓ 1 callers
Method
handleEnter
()
cmd/opencodereview/provider_tui.go:1836
↓ 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:1909
↓ 1 callers
Method
hasCommandOverride
()
acp/testdata/ocr-stub/main.go:63
↓ 1 callers
Function
hasTraversalPathComponent
(pathspec string)
internal/tool/code_search.go:115
↓ 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:5580
↓ 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:19
↓ 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:573
↓ 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:4279
↓ 1 callers
Function
isAuxiliaryProviderField
(field string)
cmd/opencodereview/config_cmd.go:1034
↓ 1 callers
Method
isAvailable
()
extensions/vscode/src/extension/services/CliService.ts:37
↓ 1 callers
Method
isBinaryFile
* Whether this is a binary file. The test is a NUL byte in the content -- the same heuristic git itself uses. * Called on demand instead of batch
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:245
↓ 1 callers
Function
isBotComment
(comment, botLogin)
scripts/github-actions/post-review-comments.js:1380
↓ 1 callers
Function
isCommentAlreadyPosted
({ github, owner, repo, prNumber, id, log })
scripts/github-actions/post-review-comments.js:2165
↓ 1 callers
Function
isExplicitFalse
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigParse.kt:75
↓ 1 callers
Function
isForbiddenChar
(r rune)
cmd/opencodereview/background_file.go:138
↓ 1 callers
Method
isGitRepo
isGitRepo reports whether p.repoDir is inside a git working tree.
internal/scan/provider.go:185
↓ 1 callers
Function
isHexDigit
(c byte)
internal/tool/comment_args_repair.go:82
↓ 1 callers
Function
isJSONStructural
isJSONStructural reports whether b can legally follow a string's closing quote in JSON.
internal/tool/comment_args_repair.go:168
↓ 1 callers
Function
isLocalRemote
isLocalRemote reports whether a remote URL points at the local filesystem rather than a network host: a file:// URL, a POSIX absolute/relative/home pa
internal/diff/git.go:554
↓ 1 callers
Function
isNonEnglish
isNonEnglish reports whether r is a letter no English word is written with, or one of the CJK/fullwidth punctuation forms. The rule is "a letter outs
scripts/verify-english-only.go:119
↓ 1 callers
Function
isNotGitRepoError
(err error, stderr string)
internal/tool/code_search.go:278
↓ 1 callers
Method
isRelevantTo
* Filters out events unrelated to the repository and noise from inside `.git`. Under `.git/`, only `index` * (staging changes, so `git add` is re
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:494
↓ 1 callers
Function
isRunnableFile
(path string, info os.FileInfo)
acp/internal/orchestrator/resolve.go:125
↓ 1 callers
Function
isScanned
(file string)
scripts/verify-english-only.go:146
↓ 1 callers
Function
isSecretEnvPath
(lowerPath string)
internal/config/allowlist/secret_path.go:63
↓ 1 callers
Function
isSessionLevelPath
(fp string)
internal/viewer/store.go:306
↓ 1 callers
Function
is_line_resolution_failure
Classify a 400 error body as a position/line-resolution failure.
examples/gitlab_ci/post_review.py:487
↓ 1 callers
Function
itemFailureForRunClass
itemFailureForRunClass maps a run-level stop cause onto the item-level classification used when Finalize sweeps the still-undecided selected items. A
internal/session/manifest.go:121
↓ 1 callers
Function
joinHostPath
joinHostPath assembles the canonical "host[/path]" form, trimming a leading "/" and a trailing ".git"/"/" from the path while preserving its case.
internal/diff/git.go:540
↓ 1 callers
Function
jsRegexReplaceAll
(s string, re *regexp.Regexp, rep string)
internal/viewer/server_extra_test.go:1095
↓ 1 callers
Function
jsonCandidates
Find complete top-level values without interpreting braces inside JSON strings. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/CliParse.kt:87
↓ 1 callers
Method
jumpTo
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentService.kt:212
↓ 1 callers
Function
keep
(newBody, oldBody)
scripts/github-actions/post-review-comments.js:1287
↓ 1 callers
Function
killProcessGroup
(signal: NodeJS.Signals)
plugins/open-code-review/opencode/open-code-review.ts:205
↓ 1 callers
Function
knownCode
(code string)
internal/chatgptauth/oauth.go:82
↓ 1 callers
Function
languageKey
languageKey returns the lowercased file extension (with the leading dot) or "<no-ext>" for extensionless files.
internal/scan/batch.go:99
↓ 1 callers
Function
leftKey
()
cmd/opencodereview/provider_tui_test.go:26
← previous
next →
2,201–2,300 of 7,169, ranked by callers