MCPcopy Create free account

hub / github.com/alibaba/open-code-review / functions

Functions3,095 in github.com/alibaba/open-code-review

↓ 1 callersFunctiondescribeHeading
(h)
scripts/github-actions/check-translation-sync.js:112
↓ 1 callersFunctiondetectBrowserLanguage
()
pages/src/i18n/context.tsx:22
↓ 1 callersFunctiondetectGitBranch
detectGitBranch returns the current git branch name for the given repo, or empty string on failure.
internal/agent/util.go:103
↓ 1 callersFunctiondetectInitialTab
(config: OcrConfig | null)
extensions/vscode/src/shared/configUtils.ts:18
↓ 1 callersFunctiondetectPlatform
()
scripts/install.js:27
↓ 1 callersMethoddispatchBatch
dispatchBatch fans out the files of a single batch concurrently and blocks until they all finish (or ctx is cancelled). Returns the number of files di
internal/scan/agent.go:466
↓ 1 callersFunctiondownloadBinary
(url, destPath)
scripts/install.js:124
↓ 1 callersFunctiondownloadText
(url)
scripts/install.js:114
↓ 1 callersMethodemptySideUri
空侧占位(等同 /dev/null),用于新增/删除文件的单侧 diff。
extensions/vscode/src/extension/services/GitService.ts:345
↓ 1 callersFunctionensureResponsesEndpoint
ensureResponsesEndpoint normalizes cfg.URL to end with /responses. The trailing /responses is kept on cfg.URL (so tests and logs see the full endpoint
internal/llm/responses_client.go:64
↓ 1 callersFunctionensureSummaryAnchor
({ github, owner, repo, prNumber, body, sticky, tag, log })
scripts/github-actions/post-review-comments.js:865
↓ 1 callersFunctionenvToCliStatus
(env: EnvCheckResult)
extensions/vscode/src/webview/configStore.ts:45
↓ 1 callersFunctionerror
(msg)
scripts/install.js:23
↓ 1 callersFunctionescapeAttr
(s: string)
pages/src/components/MarkdownRenderer.tsx:73
↓ 1 callersFunctionexactNTokens
exactNTokens builds a string that llm.CountTokens reports as exactly n tokens, failing loudly if the tokenizer disagrees so fixture drift cannot silen
internal/scan/agent_test.go:258
↓ 1 callersFunctionexactNTokens
exactNTokens builds a string that llm.CountTokens reports as exactly n tokens, failing loudly if the tokenizer disagrees so fixture drift cannot silen
internal/agent/agent_test.go:402
↓ 1 callersFunctionexecGit
(args: string[])
extensions/vscode/src/extension/services/__tests__/gitMap.test.ts:227
↓ 1 callersFunctionexecuteDelegatePreview
(opts delegateOptions)
cmd/opencodereview/delegate_cmd.go:156
↓ 1 callersFunctionexecuteDelegateRule
(opts delegateOptions, paths []string)
cmd/opencodereview/delegate_cmd.go:204
↓ 1 callersFunctionexecuteReview
(opts reviewOptions)
cmd/opencodereview/review_cmd.go:95
↓ 1 callersFunctionexecuteScan
(opts scanOptions)
cmd/opencodereview/scan_cmd.go:94
↓ 1 callersFunctionfailForOutputLimit
(error: Error)
plugins/open-code-review/opencode/open-code-review.ts:159
↓ 1 callersFunctionfallback
(_e: Error, reset: () => void)
pages/src/components/ErrorBoundary.test.tsx:58
↓ 1 callersFunctionfallbackCopy
(text: string)
pages/src/components/HeroSection.tsx:135
↓ 1 callersFunctionfallbackCopy
(value: string)
pages/src/hooks/useCopyToast.ts:7
↓ 1 callersFunctionfetchLatestVersion
(pkg)
scripts/update.js:72
↓ 1 callersFunctionfetch_diff_refs
Fetch MR diff refs from the ``/versions`` endpoint. Returns a dict with ``base_sha``/``start_sha``/``head_sha`` on success, or ``None`` on fa
examples/gitlab_ci/post_review.py:369
↓ 1 callersFunctionfileReadToolCallResponse
(callID, args string)
internal/llmloop/loop_test.go:58
↓ 1 callersMethodfilterDiffs
filterDiffs removes diffs whose file paths are excluded.
internal/diff/git.go:296
↓ 1 callersFunctionfinalizeDiff
finalizeDiff reads the new file content. When ref is non-empty it uses git show to read the file at that ref; otherwise it reads from disk.
internal/diff/parser.go:117
↓ 1 callersFunctionfinalizeSummary
({ github, owner, repo, prNumber, anchor, body, sticky, tag, log })
scripts/github-actions/post-review-comments.js:889
↓ 1 callersMethodfindDiff
findDiff returns the Diff for the given file path, or nil if not found.
internal/agent/agent.go:1015
↓ 1 callersMethodfindEditorForUri
( uri: vscode.Uri, side?: MountableCommentAnchor['side'], )
extensions/vscode/src/extension/providers/CommentProvider.ts:271
↓ 1 callersFunctionfindExistingBatchReview
({ github, owner, repo, prNumber, tag, log })
scripts/github-actions/post-review-comments.js:1265
↓ 1 callersFunctionfindExistingSummaryComment
({ github, owner, repo, prNumber, log })
scripts/github-actions/post-review-comments.js:822
↓ 1 callersFunctionfirstDiffIndex
(a, b)
scripts/github-actions/check-translation-sync.js:106
↓ 1 callersFunctionflush
()
scripts/github-actions/post-review-comments.js:1869
↓ 1 callersFunctionflush
()
examples/gitflic_ci/post_review.py:126
↓ 1 callersMethodflushAndClose
()
internal/session/persist.go:342
↓ 1 callersFunctionfold_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:153
↓ 1 callersFunctionformatDuration
(seconds float64)
internal/viewer/server.go:284
↓ 1 callersFunctionformatLocateNote
(originalLine: number, resolvedLine: number)
extensions/vscode/src/extension/providers/commentAnchor.ts:192
↓ 1 callersFunctionformatModels
(entry: ProviderEntry)
extensions/vscode/src/webview/components/CustomProviderManager.tsx:13
↓ 1 callersFunctionformatNumber
(n int)
internal/viewer/server.go:239
↓ 1 callersFunctionformatRelative
(date?: Date)
extensions/vscode/src/extension/services/GitService.ts:502
↓ 1 callersFunctionformatReviewResult
(result: RunResult, preview: boolean)
plugins/open-code-review/opencode/open-code-review.ts:237
↓ 1 callersFunctionformatWarningEntry
(w)
scripts/github-actions/post-review-comments.js:1593
↓ 1 callersFunctionformat_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:66
↓ 1 callersFunctionformat_comment
Format a single review comment as markdown for an inline discussion. Uses GitLab's ``suggestion:-0+0`` syntax so the suggestion renders as a
examples/gitlab_ci/post_review.py:46
↓ 1 callersFunctionformat_comment
Render an inline discussion body.
examples/gitflic_ci/post_review.py:218
↓ 1 callersFunctionformat_comment_fallback
Format a comment for fallback (non-inline) display in a note. Uses ``<details><summary>`` HTML so the suggested change is collapsible in the
examples/gitlab_ci/post_review.py:63
↓ 1 callersFunctionformat_comment_fallback
Render a comment for the fallback (non-inline) note.
examples/gitflic_ci/post_review.py:228
↓ 1 callersFunctionformat_summary_comment
Render ocr's JSON review output as a single Markdown summary comment.
examples/codeup_ci/post_review.py:125
↓ 1 callersFunctiongetAllTags
(language: string)
pages/src/content/blog/index.ts:95
↓ 1 callersFunctiongetAuthenticatedLogin
(github, log)
scripts/github-actions/post-review-comments.js:926
↓ 1 callersFunctiongetBlogContent
(slug: BlogSlug, language: string)
pages/src/content/blog/index.ts:80
↓ 1 callersFunctiongetDocContent
(slug: DocSlug, language: string)
pages/src/content/docs/index.ts:179
↓ 1 callersFunctiongetHeader
(headers, name)
scripts/github-actions/post-review-comments.js:1069
↓ 1 callersFunctiongetInstalledVersion
(binPath)
scripts/update.js:59
↓ 1 callersMethodgetOrLoad
(encName string)
internal/llm/client.go:237
↓ 1 callersFunctiongetPlatformPackageName
()
scripts/platform.js:18
↓ 1 callersFunctiongetPrimaryLabel
()
extensions/vscode/src/webview/views/IdleView.tsx:30
↓ 1 callersMethodgetReviewFileStatus
(path: string)
extensions/vscode/src/extension/services/GitService.ts:413
↓ 1 callersFunctiongetValidSlugs
(language: string)
pages/src/pages/BlogPage.tsx:28
↓ 1 callersMethodgitLs
(ctx context.Context, args ...string)
internal/scan/provider.go:242
↓ 1 callersMethodhandle
(msg: WebviewToHost)
extensions/vscode/src/extension/providers/ConfigPanelProvider.ts:67
↓ 1 callersMethodhandle
(msg: WebviewToHost)
extensions/vscode/src/extension/providers/SidebarProvider.ts:57
↓ 1 callersMethodhandleCustomFormEnter
()
cmd/opencodereview/provider_tui.go:1048
↓ 1 callersMethodhandleDown
()
cmd/opencodereview/provider_tui.go:1769
↓ 1 callersMethodhandleEnter
()
cmd/opencodereview/provider_tui.go:1684
↓ 1 callersMethodhandleManualFormEnter
()
cmd/opencodereview/provider_tui.go:1589
↓ 1 callersMethodhandleMessage
(msg: WebviewToHost)
extensions/vscode/src/extension/providers/ConfigPanelProvider.ts:76
↓ 1 callersFunctionhandleResize
()
pages/src/components/ColorBends.tsx:212
↓ 1 callersMethodhandleUp
()
cmd/opencodereview/provider_tui.go:1742
↓ 1 callersFunctionhandler
(e: MouseEvent)
pages/src/components/Navbar.tsx:41
↓ 1 callersFunctionhasTraversalPathComponent
(pathspec string)
internal/tool/code_search.go:91
↓ 1 callersMethodhtml
(webview: vscode.Webview)
extensions/vscode/src/extension/providers/ConfigPanelProvider.ts:148
↓ 1 callersMethodhtml
(webview: vscode.Webview)
extensions/vscode/src/extension/providers/SidebarProvider.ts:128
↓ 1 callersFunctionidxOf
(arg: vscode.CommentThread | number)
extensions/vscode/src/extension/commands.ts:16
↓ 1 callersMethodindexOfThread
(thread: vscode.CommentThread)
extensions/vscode/src/extension/providers/CommentProvider.ts:306
↓ 1 callersMethodinferJumpBlockReason
未记录原因时根据评论元数据推断(如 L0 多为行号未解析)。
extensions/vscode/src/extension/providers/CommentProvider.ts:233
↓ 1 callersFunctioninitMCPClients
(ctx context.Context, cfg *Config, tools *tool.Registry, repoDir, version string)
cmd/opencodereview/review_cmd.go:338
↓ 1 callersFunctioninitOTLPGRPCProviders
initOTLPGRPCProviders sets up OTLP gRPC exporters for traces and metrics.
internal/telemetry/exporter.go:63
↓ 1 callersFunctioninitRepoWithCommit
initRepoWithCommit creates a real git repository with a single commit whose message is `message`, and returns the repo directory and the commit hash.
cmd/opencodereview/background_file_test.go:308
↓ 1 callersMethodinstall
全局安装 ocr CLI,流式回显 npm 日志,按 exit code 返回是否成功。
extensions/vscode/src/extension/services/CliService.ts:67
↓ 1 callersMethodinvalidateEnvironmentCache
()
extensions/vscode/src/extension/services/CliService.ts:15
↓ 1 callersMethodisAvailable
()
extensions/vscode/src/extension/services/CliService.ts:28
↓ 1 callersFunctionisBinaryFile
isBinaryFile reads up to binarySniffWindow bytes from path and reports whether they contain a NUL byte (git's "binary" heuristic).
internal/scan/provider.go:301
↓ 1 callersFunctionisBotComment
(comment, botLogin)
scripts/github-actions/post-review-comments.js:972
↓ 1 callersFunctionisChunkLoadError
(error: Error)
pages/src/components/ErrorBoundary.tsx:17
↓ 1 callersFunctionisCommentAlreadyPosted
({ github, owner, repo, prNumber, id, log })
scripts/github-actions/post-review-comments.js:1319
↓ 1 callersFunctionisForbiddenChar
(r rune)
cmd/opencodereview/background_file.go:118
↓ 1 callersMethodisGitRepo
isGitRepo reports whether p.repoDir is inside a git working tree.
internal/scan/provider.go:159
↓ 1 callersFunctionisNotGitRepoError
(err error, stderr string)
internal/tool/code_search.go:218
↓ 1 callersFunctionlanguageKey
languageKey returns the lowercased file extension (with the leading dot) or "<no-ext>" for extensionless files.
internal/scan/batch.go:96
↓ 1 callersFunctionleftKey
()
cmd/opencodereview/provider_tui_test.go:23
↓ 1 callersFunctionlevel2Headings
(markdown)
scripts/github-actions/check-translation-sync.js:87
↓ 1 callersFunctionlevenshtein
(a, b string)
cmd/opencodereview/flag_suggest.go:60
↓ 1 callersFunctionlistExistingReviewComments
(github, owner, repo, prNumber, log)
scripts/github-actions/post-review-comments.js:936
↓ 1 callersMethodlistFilesViaGit
(ctx context.Context)
internal/scan/provider.go:164
← previousnext →901–1,000 of 3,095, ranked by callers