MCPcopy Create free account

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

Functions7,128 in github.com/alibaba/open-code-review

↓ 1 callersMethoddescribeRight
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:440
↓ 1 callersFunctiondescribeTarget
describeTarget renders a provider/model pair for the transition line. Either side may be empty (a non-provider endpoint records no provider name).
cmd/opencodereview/session_cmd.go:770
↓ 1 callersFunctiondetectBrowserLanguage
()
pages/src/i18n/context.tsx:26
↓ 1 callersFunctiondetectGitBranch
detectGitBranch returns the current git branch name for the given repo, or empty string on failure.
internal/agent/util.go:158
↓ 1 callersFunctiondetectPlatform
()
scripts/install.js:31
↓ 1 callersMethoddiscard
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentService.kt:301
↓ 1 callersFunctiondispatchRequest
(ctx context.Context, raw json.RawMessage, call func(context.Context, P) (R, error))
acp/internal/adapter/transport/dispatch.go:45
↓ 1 callersMethoddispose
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/JcefConfigPanelHost.kt:89
↓ 1 callersMethoddispose
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/JcefReviewPanel.kt:83
↓ 1 callersFunctiondownloadBinary
(url, destPath)
scripts/install.js:128
↓ 1 callersFunctiondownloadText
(url)
scripts/install.js:118
↓ 1 callersFunctionduplicateFile
(source *os.File)
acp/cmd/ocr-acp/stdio_windows.go:61
↓ 1 callersFunctionembeddedPathRuleMap
embeddedPathRuleMap returns the embedded system_rules.json path_rule_map as a glob → rule-doc map. A plain map decode is enough: the check below compa
internal/config/rules/rule_docs_table_test.go:100
↓ 1 callersFunctionemptyComments
()
acp/testdata/mock-ocr/main.go:209
↓ 1 callersFunctionemptyManifest
emptyManifest is the well-formed, empty skipped manifest returned alongside an error from a nil-builder Finalize, so a mistaken nil receiver never pan
internal/session/manifest.go:885
↓ 1 callersMethodemptySideUri
Provide an empty side (equivalent to /dev/null) for diffs of added or deleted files.
extensions/vscode/src/extension/services/GitService.ts:355
↓ 1 callersMethodendTurn
endTurn releases the session only after its prompt and runner cleanup finish. The busy flag keeps s.cancel owned by this turn until it is cleared here
acp/internal/adapter/session.go:140
↓ 1 callersFunctionensureBuilt
()
acp/internal/testutil/stub.go:72
↓ 1 callersFunctionensureEOF
(dec *json.Decoder)
acp/internal/intent/natural.go:69
↓ 1 callersFunctionensureProviderBucketEntry
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigDraft.kt:140
↓ 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:104
↓ 1 callersFunctionensureSummaryAnchor
({ github, owner, repo, prNumber, body, sticky, tag, appSlug = "", resolveSelfLogin = null,
scripts/github-actions/post-review-comments.js:1226
↓ 1 callersFunctionensure_summary_anchor
Phase 1: find-or-create the summary note before posting discussions. Runs in both sticky and non-sticky modes so the pre-review body ("⏳ Post
examples/gitlab_ci/post_review.py:1212
↓ 1 callersFunctionenvToCliStatus
(env: EnvCheckResult)
extensions/frontend/src/webview/configStore.ts:48
↓ 1 callersFunctionequalStringSlices
(a, b []string)
internal/session/resume.go:340
↓ 1 callersFunctionesc
(s)
internal/viewer/static/session.js:10
↓ 1 callersFunctionescapeAttr
(s: string)
pages/src/components/MarkdownRenderer.tsx:78
↓ 1 callersFunctionescapeCodeBlockBackslashes
(document ast.Node, source []byte)
cmd/opencodereview/markdown.go:165
↓ 1 callersFunctionescapeCodeSpanEntities
(document ast.Node, source []byte)
cmd/opencodereview/markdown.go:149
↓ 1 callersMethodescapeForInlineScript
* A `</script` inside an inline script reads as the script's end tag to the HTML parser, and the * rest of the bundle is then rendered as body te
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/WebviewHtml.kt:80
↓ 1 callersFunctionescapeMarkdownAlt
(value)
scripts/github-actions/post-review-comments.js:2254
↓ 1 callersFunctionescapedRegExp
(value)
scripts/github-actions/action-contract.test.js:357
↓ 1 callersFunctionevalSessionResponseTextJS
evalSessionResponseTextJS parses the .response-text formatting block from session.js and executes its exact regex/string replacement pipeline in Go so
internal/viewer/server_extra_test.go:1123
↓ 1 callersFunctionexactNTokens
exactNTokens uses a four-byte fragment that is one cl100k_base token, so it also stays exact under CountTokens' four-bytes-per-token fallback.
internal/scan/agent_test.go:321
↓ 1 callersFunctionexactNTokens
exactNTokens uses a four-byte fragment that is one cl100k_base token, so it also stays exact under CountTokens' four-bytes-per-token fallback.
internal/agent/agent_test.go:633
↓ 1 callersFunctionexecGit
(args: string[])
extensions/vscode/src/extension/services/__tests__/gitMap.test.ts:230
↓ 1 callersFunctionexecute
(step, overrides = {})
scripts/github-actions/release-contract.test.js:50
↓ 1 callersMethodexecute
(ctx context.Context, args map[string]any)
internal/tool/file_read.go:47
↓ 1 callersMethodexecute
(ctx context.Context, args map[string]any)
internal/tool/code_search.go:40
↓ 1 callersMethodexecute
(ctx context.Context, args map[string]any)
internal/tool/file_find.go:41
↓ 1 callersMethodexecute
(ctx context.Context, args map[string]any, current *FileReader, run func(*FileReader) (string, error))
internal/tool/code_access.go:36
↓ 1 callersFunctionexecutionCommand
(binary string, request orchestrator.Request)
acp/internal/adapter/presentation/progress_format.go:99
↓ 1 callersFunctionexecutionCommandLine
(binary string, request orchestrator.Request)
acp/internal/adapter/presentation/progress_format.go:91
↓ 1 callersFunctionexecutionResultLabel
Execution failures take precedence over any usable result returned by OCR.
acp/internal/adapter/presentation/progress_format.go:108
↓ 1 callersFunctionexpandSessionKeyValue
(v any, key string)
internal/llm/sessionkey.go:133
↓ 1 callersFunctionexplicitFlagHint
explicitFlagHint renders the actionable half of a transition rejection. value is empty whenever the endpoint has no provider name — one configured str
internal/session/resume_identity.go:157
↓ 1 callersFunctionfailForOutputLimit
(error: Error)
plugins/open-code-review/opencode/open-code-review.ts:228
↓ 1 callersFunctionfallbackCopy
(text: string)
pages/src/components/HeroSection.tsx:167
↓ 1 callersFunctionfallbackCopy
(value: string)
pages/src/hooks/useCopyToast.ts:10
↓ 1 callersMethodfalsePositive
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentService.kt:303
↓ 1 callersFunctionfetchLatestVersion
(pkg)
scripts/update.js:77
↓ 1 callersFunctionfetch_diff_refs
Fetch MR diff refs from the ``/versions`` endpoint (or None on failure). When ``expected_shas`` is provided (e.g. ``{"head": ..., "base": ...}``,
examples/gitlab_ci/post_review.py:815
↓ 1 callersMethodfileOf
(body []byte)
cmd/opencodereview/retry_fake_llm_test.go:142
↓ 1 callersFunctionfilesReviewedFromSelected
(selected []session.CoverageItem)
internal/viewer/store.go:831
↓ 1 callersMethodfilterByPaths
filterByPaths keeps only entries named by a --path selector: the file itself, or everything under it for a directory. The selector's own spelling is
internal/scan/provider.go:318
↓ 1 callersFunctionfilterComments
filterComments keeps comments whose severity and category are in the given comma-separated, case-insensitive filter lists. Empty filters keep everythi
cmd/opencodereview/session_cmd.go:510
↓ 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:189
↓ 1 callersFunctionfinalizeResolvedEndpoint
finalizeResolvedEndpoint stamps the source label, strips the model suffix and applies the global env overrides, which win over config-file values.
internal/llm/resolver.go:186
↓ 1 callersFunctionfinalizeSummary
({ github, owner, repo, prNumber, anchor, body, sticky, tag, preserveMarker = false, appSl
scripts/github-actions/post-review-comments.js:1273
↓ 1 callersFunctionfinalize_summary
Phase 2: write the final summary body to the anchored note (or upsert).
examples/gitlab_ci/post_review.py:1234
↓ 1 callersFunctionfindCliResultDto
Accept one validated review result; unrelated log objects cannot become empty results. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/CliParse.kt:124
↓ 1 callersMethodfindDiff
findDiff returns the Diff for the given file path, or nil if not found.
internal/agent/agent.go:2223
↓ 1 callersMethodfindEditorForUri
( uri: vscode.Uri, side?: MountableCommentAnchor['side'], )
extensions/vscode/src/extension/providers/CommentProvider.ts:274
↓ 1 callersFunctionfindExistingBatchReview
({ github, owner, repo, prNumber, tag, log })
scripts/github-actions/post-review-comments.js:2112
↓ 1 callersFunctionfindExistingSummaryComment
({ github, owner, repo, prNumber, appSlug = "", resolveSelfLogin = null, log })
scripts/github-actions/post-review-comments.js:1147
↓ 1 callersFunctionfindingKey
findingKey identifies a finding across runs by what it is about, not where it sits: path, category and the offending snippet. Line numbers are deliber
internal/session/compare.go:87
↓ 1 callersFunctionfingerprint
(over = {})
scripts/github-actions/post-review-comments.test.js:5168
↓ 1 callersMethodfinishCustomForm
finishCustomForm saves the Custom provider form. It runs from the auth-header step for a token-based protocol and from the protocol step for an ambien
cmd/opencodereview/provider_tui.go:1208
↓ 1 callersFunctionfirstDiffIndex
(a, b)
scripts/github-actions/check-translation-sync.js:111
↓ 1 callersFunctionfirstLineContaining
(body, marker string)
cmd/opencodereview/cli_reference_compare_docs_test.go:113
↓ 1 callersFunctionfirstOf
(completions []string, _ cobra.ShellCompDirective)
cmd/opencodereview/session_rm_test.go:536
↓ 1 callersFunctionflagErrorWithSuggestion
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 callersFunctionflattenOneLine
flattenOneLine collapses a multi-line string into a single line.
internal/agent/util.go:84
↓ 1 callersFunctionflush
()
scripts/github-actions/post-review-comments.js:2790
↓ 1 callersFunctionflush
()
examples/gitflic_ci/post_review.py:130
↓ 1 callersMethodflushAndClose
()
internal/session/persist.go:428
↓ 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:157
↓ 1 callersFunctionformatDuration
(seconds float64)
internal/viewer/server.go:552
↓ 1 callersFunctionformatLocateNote
(originalLine: number, resolvedLine: number)
extensions/vscode/src/extension/providers/commentAnchor.ts:195
↓ 1 callersFunctionformatModels
(entry: ProviderEntry)
extensions/frontend/src/webview/components/CustomProviderManager.tsx:16
↓ 1 callersFunctionformatNpmDownloads
(n: number)
pages/src/components/HighlightsSection.tsx:13
↓ 1 callersFunctionformatNumber
(n int)
internal/viewer/server.go:507
↓ 1 callersFunctionformatRelative
(date?: Date)
extensions/vscode/src/extension/services/GitService.ts:512
↓ 1 callersFunctionformatScanScope
(paths []string)
internal/session/resume.go:352
↓ 1 callersFunctionformatWarningEntry
(w)
scripts/github-actions/post-review-comments.js:2506
↓ 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:70
↓ 1 callersFunctionformat_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 callersFunctionformat_comment
Render an inline discussion body.
examples/gitflic_ci/post_review.py:222
↓ 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. The Be
examples/gitlab_ci/post_review.py:286
↓ 1 callersFunctionformat_comment_fallback
Render a comment for the fallback (non-inline) note.
examples/gitflic_ci/post_review.py:232
↓ 1 callersFunctionformat_summary_comment
Render ocr's JSON review output as a single Markdown summary comment.
examples/codeup_ci/post_review.py:129
↓ 1 callersFunctionformat_warning_entry
Format a single warning as a compact ``file (type): message`` bullet.
examples/gitlab_ci/post_review.py:320
↓ 1 callersFunctionforwardSignal
(child, signal)
bin/ocr.js:29
↓ 1 callersFunctionfull
(reason, seen)
scripts/github-actions/post-review-comments.js:3301
↓ 1 callersFunctionfullCoverage
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 callersFunctiongate
(comment, extra = {})
scripts/github-actions/post-review-comments.test.js:2756
↓ 1 callersFunctiongenerateCtrlBreak
(pid int)
acp/internal/orchestrator/process/winapi_windows.go:228
↓ 1 callersFunctiongeneratedPresetProviderNames
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ProviderNames.generated.kt:9
↓ 1 callersFunctiongetAllTags
(language: string)
pages/src/content/blog/index.ts:105
↓ 1 callersFunctiongetBlogContent
(slug: BlogSlug, language: string)
pages/src/content/blog/index.ts:90
← previousnext →2,101–2,200 of 7,128, ranked by callers