MCPcopy Create free account

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

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

↓ 1 callersMethodisBinaryFile
* 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 callersFunctionisBotComment
(comment, botLogin)
scripts/github-actions/post-review-comments.js:1383
↓ 1 callersFunctionisCommentAlreadyPosted
({ github, owner, repo, prNumber, id, log })
scripts/github-actions/post-review-comments.js:2168
↓ 1 callersFunctionisExplicitFalse
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigParse.kt:75
↓ 1 callersFunctionisForbiddenChar
(r rune)
cmd/opencodereview/background_file.go:138
↓ 1 callersMethodisGitRepo
isGitRepo reports whether p.repoDir is inside a git working tree.
internal/scan/provider.go:185
↓ 1 callersFunctionisHexDigit
(c byte)
internal/tool/comment_args_repair.go:82
↓ 1 callersFunctionisJSONStructural
isJSONStructural reports whether b can legally follow a string's closing quote in JSON.
internal/tool/comment_args_repair.go:168
↓ 1 callersFunctionisLocalRemote
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:560
↓ 1 callersFunctionisNonEnglish
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 callersFunctionisNotGitRepoError
(err error, stderr string)
internal/tool/code_search.go:282
↓ 1 callersMethodisRelevantTo
* 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 callersFunctionisRunnableFile
(path string, info os.FileInfo)
acp/internal/orchestrator/resolve.go:125
↓ 1 callersFunctionisScanned
(file string)
scripts/verify-english-only.go:146
↓ 1 callersFunctionisSecretEnvPath
(lowerPath string)
internal/config/allowlist/secret_path.go:63
↓ 1 callersFunctionisSessionLevelPath
(fp string)
internal/viewer/store.go:286
↓ 1 callersFunctionis_line_resolution_failure
Classify a 400 error body as a position/line-resolution failure.
examples/gitlab_ci/post_review.py:487
↓ 1 callersFunctionitemFailureForRunClass
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 callersFunctionjoinHostPath
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:546
↓ 1 callersFunctionjsRegexReplaceAll
(s string, re *regexp.Regexp, rep string)
internal/viewer/server_extra_test.go:1106
↓ 1 callersFunctionjsonCandidates
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 callersMethodjumpTo
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentService.kt:212
↓ 1 callersFunctionkeep
(newBody, oldBody)
scripts/github-actions/post-review-comments.js:1290
↓ 1 callersFunctionkillProcessGroup
(signal: NodeJS.Signals)
plugins/open-code-review/opencode/open-code-review.ts:205
↓ 1 callersFunctionknownCode
(code string)
internal/chatgptauth/oauth.go:82
↓ 1 callersFunctionlanguageKey
languageKey returns the lowercased file extension (with the leading dot) or "<no-ext>" for extensionless files.
internal/scan/batch.go:96
↓ 1 callersFunctionlayoutMarkdownTable
(rows [][]string, alignments []extensionast.Alignment, width int)
cmd/opencodereview/markdown_table.go:78
↓ 1 callersFunctionleftKey
()
cmd/opencodereview/provider_tui_test.go:26
↓ 1 callersMethodleftRefFor
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 callersFunctionlevel2Headings
(markdown)
scripts/github-actions/check-translation-sync.js:95
↓ 1 callersFunctionlistExistingReviewComments
(github, owner, repo, prNumber, log)
scripts/github-actions/post-review-comments.js:1347
↓ 1 callersMethodlistFilesViaGit
(ctx context.Context)
internal/scan/provider.go:190
↓ 1 callersMethodlistFilesViaWalk
listFilesViaWalk recursively walks p.repoDir collecting regular files. Honors: - the internal ExcludedDirs blocklist (.git, node_modules, vendor, ...)
internal/scan/provider.go:222
↓ 1 callersMethodlistGitFiles
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 callersFunctionlistProfilesRegionArg
(region string)
internal/llm/client.go:1458
↓ 1 callersMethodlistWalkFiles
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 callersFunctionloadConfig
()
acp/testdata/ocr-stub/main.go:67
↓ 1 callersFunctionloadFromEmbed
(filename string)
internal/llm/embedded_loader.go:57
↓ 1 callersFunctionloadMermaid
()
pages/src/components/MarkdownRenderer.tsx:17
↓ 1 callersFunctionloadPlugin
(worktree)
plugins/open-code-review/opencode/test/open-code-review.test.mjs:11
↓ 1 callersMethodloadPreviewDiffs
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:114
↓ 1 callersFunctionloadSessionShowDetail
(sessionID string)
cmd/opencodereview/session_cmd.go:337
↓ 1 callersFunctionloadStoredMarks
()
internal/viewer/static/session.js:221
↓ 1 callersFunctionload_diffs_by_path
Build {new_path: FileDiff} for the merge-base diff `ocr review` ran on.
examples/gitflic_ci/post_review.py:387
↓ 1 callersFunctionload_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:1431
↓ 1 callersFunctionload_review_result
Read the JSON produced by `ocr review --format json` (path '-' = stdin).
examples/gerrit_ci/post_review.py:284
↓ 1 callersFunctionload_review_result
Read the JSON produced by ``ocr review --format json``.
examples/gitlab_ci/post_review.py:1559
↓ 1 callersFunctionload_review_result
Read the JSON produced by `ocr review --format json` (path '-' = stdin).
examples/gitflic_ci/post_review.py:398
↓ 1 callersFunctionlocal_remote
(repo, env)
plugins/open-code-review/skills/open-code-review/scripts/review_pr.py:57
↓ 1 callersFunctionlocal_remote
(repo, env)
skills/open-code-review/scripts/review_pr.py:57
↓ 1 callersFunctionlooksBinary
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:651
↓ 1 callersFunctionlookup
(number, repo, cwd, env)
plugins/open-code-review/skills/open-code-review/scripts/review_pr.py:43
↓ 1 callersMethodlookupDiff
lookupDiff returns the synthetic Diff for a path, used by reviewtask.Runner to resolve code_comment line numbers against the scanned file content.
internal/scan/agent.go:414
↓ 1 callersFunctionmain
()
scripts/install.js:156
↓ 1 callersFunctionmain
()
scripts/update.js:129
↓ 1 callersFunctionmain
(argv = process.argv.slice(2), env = process.env)
scripts/github-actions/check-translation-sync.js:345
↓ 1 callersFunctionmain
()
scripts/github-actions/check-pr-commit-policy.test.js:469
↓ 1 callersFunctionmain
()
scripts/github-actions/post-review-comments.test.js:2790
↓ 1 callersFunctionmain
(argv = process.argv.slice(2), env = process.env)
scripts/github-actions/check-plugin-contract.js:1108
↓ 1 callersFunctionmain
()
scripts/github-actions/check-translation-sync.test.js:283
↓ 1 callersFunctionmain
(argv=None)
examples/gerrit_ci/post_review.py:352
↓ 1 callersFunctionmain
(argv=None)
examples/gitlab_ci/post_review.py:1580
↓ 1 callersFunctionmain
(argv=None)
examples/codeup_ci/post_review.py:264
↓ 1 callersFunctionmain
(argv=None)
examples/gitflic_ci/post_review.py:440
↓ 1 callersFunctionmain
()
acp/cmd/ocr-acp/main.go:21
↓ 1 callersFunctionmain_
()
scripts/github-actions/check-plugin-contract.test.js:1070
↓ 1 callersFunctionmakeUnreadable
(t *testing.T, path string)
cmd/opencodereview/session_rm_test.go:248
↓ 1 callersFunctionmake_dry_run_poster
Return post(review_input) that prints instead of calling Gerrit.
examples/gerrit_ci/post_review.py:269
↓ 1 callersFunctionmake_dry_run_poster
Return a :class:`DryRunPoster`.
examples/gitlab_ci/post_review.py:1148
↓ 1 callersFunctionmake_dry_run_poster
Return a post(discussion) that prints instead of calling the API.
examples/gitflic_ci/post_review.py:358
↓ 1 callersFunctionmake_poster
Return post(review_input) that POSTs to the Gerrit set-review endpoint. Auth is preemptive basic auth; the parsed (XSSI-stripped) response JSON i
examples/gerrit_ci/post_review.py:218
↓ 1 callersFunctionmake_poster
Return a :class:`GitLabPoster` bound to the given MR endpoint.
examples/gitlab_ci/post_review.py:1104
↓ 1 callersFunctionmake_poster
Return a post(discussion) that POSTs to the GitFlic Discussions API.
examples/gitflic_ci/post_review.py:330
↓ 1 callersFunctionmanifestReusableFingerprints
manifestReusableFingerprints collects the fingerprints the parent manifest settled as completed or reused. Both count: a parent that itself resumed ca
internal/session/resume.go:260
↓ 1 callersFunctionmanualProtocolIndex
manualProtocolIndex is cpProtocolIndex for the Manual form's shorter list. A config that names bedrock in llm.protocol is unusable there and lands on
cmd/opencodereview/provider_tui.go:211
↓ 1 callersFunctionmanualURLFormError
manualURLFormError words a rejected Base URL so the manual form can keep the cursor on the URL field; applyManualConfig still validates at save time.
cmd/opencodereview/provider_tui.go:1146
↓ 1 callersFunctionmapResponsesFinishReason
mapResponsesFinishReason applies the coarse-grained mapping from decision 8: - completed -> stop - incomplete -> length - failed/cancelled -> error -
internal/llm/responses_client.go:627
↓ 1 callersFunctionmapsEqual
(a, b map[string]string)
internal/llm/resolver_test.go:1709
↓ 1 callersMethodmarkChunkReloadAttempt
()
pages/src/components/ErrorBoundary.tsx:55
↓ 1 callersMethodmarkCompleted
markCompleted/markReused/markFailed are nil-safe manifest transitions. A non-nil error here is an internal invariant violation (a mis-keyed or duplica
internal/agent/agent.go:1185
↓ 1 callersMethodmarkFailed
(d model.Diff, class session.FailureClass, reason string)
internal/agent/agent.go:1205
↓ 1 callersMethodmarkReused
(d model.Diff)
internal/agent/agent.go:1195
↓ 1 callersFunctionmarkdownColumnWidths
(rows [][]string, columns, budget int)
cmd/opencodereview/markdown_table.go:184
↓ 1 callersFunctionmarshaledLen
(v any)
internal/llm/client.go:203
↓ 1 callersFunctionmatchGitignoreDirectory
(relPath, pattern string)
internal/diff/git.go:410
↓ 1 callersFunctionmatchGitignorePattern
matchGitignorePattern checks if relPath matches a single .gitignore pattern. Polarity is not this function's concern: a negated pattern reports false
internal/diff/git.go:353
↓ 1 callersMethodmatchProjectRuleDetail
(pr *ProjectRule, path, source string)
internal/config/rules/system_rules.go:523
↓ 1 callersFunctionmergeReviewSlots
(prev *pendingSlots, raw *rawIntent)
acp/internal/intent/natural.go:158
↓ 1 callersFunctionmergeScanSlots
Omitted lists inherit compatible pending state; explicit lists (including empty arrays) replace it. Never concatenate targets or command options.
acp/internal/intent/natural.go:145
↓ 1 callersMethodmissingBundle
* The bundle is missing from the jar — almost always because the frontend was not built. * The copy goes through [HostStrings] and must not be ha
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/WebviewHtml.kt:103
↓ 1 callersFunctionmissingField
Messages like "{type} is missing {field}" differ only in two arguments and are all built here, * avoiding repeated copy construction at each call si
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/messages/WebviewMessages.kt:128
↓ 1 callersFunctionml
(a, b)
scripts/github-actions/post-review-comments.test.js:1622
↓ 1 callersFunctionmockReload
()
pages/src/components/ErrorBoundary.test.tsx:12
↓ 1 callersFunctionmockReload
()
pages/src/pages/DocsPage.test.tsx:161
↓ 1 callersFunctionmock_ocr
()
acp/testdata/python-client-smoke.py:27
↓ 1 callersMethodmountDiffPanels
* Attach inline comment panels to a diff view. Called by GitService.diffViewerReady after showDiff. * Find editor instances for the document thro
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentService.kt:580
↓ 1 callersFunctionmountableOrUnresolved
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/providers/CommentAnchor.kt:185
↓ 1 callersMethodmr_url
Best-effort MR web URL (cached). None when unavailable.
examples/gitlab_ci/post_review.py:940
↓ 1 callersFunctionmustStat
(t *testing.T, path string)
internal/pathutil/path_test.go:168
↓ 1 callersFunctionnewBlockingScanCompressionClient
()
internal/scan/agent_test.go:409
← previousnext →2,401–2,500 of 7,484, ranked by callers