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
gqlErr
(message, extra)
scripts/github-actions/post-review-comments.test.js:6521
↓ 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:1590
↓ 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:425
↓ 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:70
↓ 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:141
↓ 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
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:117
↓ 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:92
↓ 1 callers
Function
installLocalStorageMock
()
pages/src/App.test.tsx:11
↓ 1 callers
Function
installLocalStorageMock
()
pages/src/pages/NotFoundPage.test.tsx:22
↓ 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:39
↓ 1 callers
Function
isASCIILetter
(b byte)
internal/diff/git.go:494
↓ 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:4443
↓ 1 callers
Function
isAuxiliaryProviderField
(field string)
cmd/opencodereview/config_cmd.go:1052
↓ 1 callers
Method
isAvailable
()
extensions/vscode/src/extension/services/CliService.ts:52
↓ 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:1361
↓ 1 callers
Function
isCommentAlreadyPosted
({ github, owner, repo, prNumber, id, log })
scripts/github-actions/post-review-comments.js:2146
↓ 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:184
↓ 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:475
↓ 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:282
↓ 1 callers
Method
isPathExcluded
isPathExcluded returns true when the given relative file path should be skipped based on hardcoded dir rules or .gitignore patterns. Patterns are res
internal/diff/git.go:304
↓ 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:291
↓ 1 callers
Function
is_line_resolution_failure
Classify a 400 error body as a position/line-resolution failure.
examples/gitlab_ci/post_review.py:638
↓ 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:461
↓ 1 callers
Function
jsRegexReplaceAll
(s string, re *regexp.Regexp, rep string)
internal/viewer/server_extra_test.go:1109
↓ 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
killProcessGroup
(signal: NodeJS.Signals)
plugins/open-code-review/opencode/open-code-review.ts:292
↓ 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:96
↓ 1 callers
Function
layoutMarkdownTable
(rows [][]string, alignments []extensionast.Alignment, width int)
cmd/opencodereview/markdown_table.go:78
↓ 1 callers
Function
leftKey
()
cmd/opencodereview/provider_tui_test.go:26
↓ 1 callers
Method
leftRefFor
The ref corresponding to the diff's left side (before the change). */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:384
↓ 1 callers
Function
legacyFinal
()
scripts/github-actions/post-review-comments.test.js:910
↓ 1 callers
Function
level2Headings
(markdown)
scripts/github-actions/check-translation-sync.js:95
↓ 1 callers
Function
listExistingReviewComments
(github, owner, repo, prNumber, log)
scripts/github-actions/post-review-comments.js:1325
↓ 1 callers
Method
listFilesViaGit
(ctx context.Context)
internal/scan/provider.go:189
↓ 1 callers
Method
listFilesViaWalk
listFilesViaWalk recursively walks p.repoDir collecting regular files. Honors: - the internal ExcludedDirs blocklist (.git, node_modules, vendor, ...)
internal/scan/provider.go:226
↓ 1 callers
Method
listGitFiles
listGitFiles returns tracked and untracked files (respecting .gitignore) via git ls-files. In range/commit mode it uses git ls-tree to list files at t
internal/tool/file_find.go:124
↓ 1 callers
Function
listProfilesRegionArg
(region string)
internal/llm/client.go:1458
↓ 1 callers
Method
listWalkFiles
listWalkFiles is the non-git fallback for listGitFiles: it walks the repo directory honoring the root .gitignore and the default excluded-dir blocklis
internal/tool/file_find.go:185
↓ 1 callers
Function
loadConfig
()
acp/testdata/ocr-stub/main.go:67
↓ 1 callers
Function
loadFromEmbed
(filename string)
internal/llm/embedded_loader.go:57
↓ 1 callers
Method
loadGitignorePatterns
loadGitignorePatterns reads and parses .gitignore patterns from the repo root.
internal/diff/git.go:287
↓ 1 callers
Function
loadMermaid
()
pages/src/components/MarkdownRenderer.tsx:17
↓ 1 callers
Function
loadPlugin
(worktree)
plugins/open-code-review/opencode/test/open-code-review.test.mjs:11
↓ 1 callers
Method
loadPreviewDiffs
loadPreviewDiffs loads the normal review input plus provider-level directory exclusions. Only Preview needs the excluded payload, so normal review run
internal/agent/preview.go:116
↓ 1 callers
Function
loadSessionShowDetail
(sessionID string)
cmd/opencodereview/session_cmd.go:337
↓ 1 callers
Function
loadStoredMarks
()
internal/viewer/static/session.js:221
↓ 1 callers
Function
load_diffs_by_path
Build {new_path: FileDiff} for the merge-base diff `ocr review` ran on.
examples/gitflic_ci/post_review.py:387
↓ 1 callers
Function
load_incremental_history
Return a list of ``{path, span}`` for prior bot discussions. None when the read API failed (caller then disables incremental filtering rather
examples/gitlab_ci/post_review.py:1606
↓ 1 callers
Function
load_review_result
Read the JSON produced by `ocr review --format json` (path '-' = stdin).
examples/gerrit_ci/post_review.py:284
↓ 1 callers
Function
load_review_result
Read the JSON produced by ``ocr review --format json``.
examples/gitlab_ci/post_review.py:1734
↓ 1 callers
Function
load_review_result
Read the JSON produced by `ocr review --format json` (path '-' = stdin).
examples/gitflic_ci/post_review.py:398
↓ 1 callers
Function
local_remote
(repo, env)
plugins/open-code-review/skills/open-code-review/scripts/review_pr.py:57
↓ 1 callers
Function
local_remote
(repo, env)
skills/open-code-review/scripts/review_pr.py:57
↓ 1 callers
Function
looksBinary
looksBinary reports whether content contains a NUL byte within the sniff window — the same marker git uses to report a file as binary.
internal/diff/git.go:566
← previous
next →
2,401–2,500 of 7,599, ranked by callers