MCPcopy Create free account

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

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

↓ 2 callersFunctiongetAuthenticatedLogin
(github, log)
scripts/github-actions/post-review-comments.js:1337
↓ 2 callersMethodgetBranchDiff
Compare branches using a three-dot diff from the merge base.
extensions/vscode/src/extension/services/GitService.ts:207
↓ 2 callersFunctiongetBreakpoints
()
pages/src/hooks/useResponsive.ts:24
↓ 2 callersMethodgetCachedEnvironment
()
extensions/vscode/src/extension/services/CliService.ts:28
↓ 2 callersFunctiongetDocContent
(slug: DocSlug, loaded: LoadedDocContent)
pages/src/content/docs/index.ts:119
↓ 2 callersFunctiongetMeter
()
internal/telemetry/metrics.go:32
↓ 2 callersFunctiongetPlatformPackageName
()
scripts/platform.js:21
↓ 2 callersFunctiongetRawContent
(slug: BlogSlug, language: string)
pages/src/content/blog/index.ts:85
↓ 2 callersMethodgetReviewFileStatus
The change status of this path within the current review; returns null when it is out of scope. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:289
↓ 2 callersMethodgetState
* Refreshes and returns the git state for the given review mode. * Only the data the current mode needs is queried: workspace mode does not need
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:90
↓ 2 callersMethodgetState
(mode: ReviewMode)
extensions/vscode/src/extension/services/GitService.ts:70
↓ 2 callersFunctiongetTracer
()
internal/telemetry/span.go:19
↓ 2 callersFunctiongitIn
gitIn runs git in dir with a fixed identity so commits are reproducible.
cmd/opencodereview/review_resume_more_test.go:89
↓ 2 callersFunctiongraceRoundCommentResponse
()
internal/reviewtask/loop_test.go:696
↓ 2 callersMethodhandle
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/SidebarRouter.kt:57
↓ 2 callersFunctionhandleCompare
handleCompare renders the `ocr session compare` result for two sessions of the same repo. repo is the on-disk directory name, passed through from the
internal/viewer/handler.go:167
↓ 2 callersFunctionhandler
(e: MouseEvent)
pages/src/components/Navbar.tsx:55
↓ 2 callersMethodhasContent
Whether the config still has real content. Empty strings do not count -- a blank string is falsy in this check. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigService.kt:110
↓ 2 callersMethodhasErrorAttempt
()
internal/llm/retry_report.go:241
↓ 2 callersFunctionhasLine
hasLine reads bounded fragments even for an arbitrarily long source line. A trailing newline terminates its line; it does not create another one.
acp/internal/adapter/workspace/files.go:97
↓ 2 callersFunctionhasOddQuotes
hasOddQuotes reports whether v carries an odd number of double quotes — the signature of a value cut short at a misjudged terminator. Number a value'
internal/tool/comment_args_repair.go:231
↓ 2 callersMethodhasSuggestion
(c: ReviewComment)
extensions/vscode/src/extension/providers/CommentProvider.ts:120
↓ 2 callersFunctionhasSuspectTruncation
hasSuspectTruncation reports whether any entry carries a value a misjudged terminator may have cut short. Such a batch is refused outright rather than
internal/tool/comment_args_repair.go:242
↓ 2 callersFunctionhasTranslation
(slug: DocSlug, language: Language)
pages/src/content/docs/index.ts:56
↓ 2 callersFunctionheader
(name)
scripts/github-actions/post-review-comments.js:1938
↓ 2 callersFunctionholdDuration
(cfg config)
acp/testdata/ocr-stub/main.go:237
↓ 2 callersFunctionhostOnly
hostOnly returns the bare host portion of a Host header value, with any port stripped and surrounding brackets removed from IPv6 literals. Empty or ma
internal/viewer/hostguard.go:20
↓ 2 callersFunctionhunkHeader
(line string)
internal/diff/hunk.go:38
↓ 2 callersFunctionidentityArgs
(dir string, maxTokens int)
internal/agent/identity_test.go:35
↓ 2 callersFunctionids
ids renders a bucket as "path:startline" entries, so a case pins both the membership and the order Compare promises.
internal/session/compare_test.go:28
↓ 2 callersFunctioninCommentSeverityOrder
(comments []model.LlmComment, findings []T)
cmd/opencodereview/output.go:28
↓ 2 callersFunctioninfo
(msg)
scripts/install.js:19
↓ 2 callersFunctioninitConsoleProviders
initConsoleProviders sets up stdout exporters for traces and metrics.
internal/telemetry/exporter.go:184
↓ 2 callersFunctioninitIdentityRepo
initIdentityRepo builds a workspace with two reviewable files, one the extension rules drop, and one large enough for the token filter to drop.
internal/agent/identity_test.go:19
↓ 2 callersMethodinitManifest
initManifest seeds the run manifest with this run's input identity and execution provenance. It is nil-safe (the builder is absent on the delegate pre
internal/agent/agent.go:955
↓ 2 callersFunctioninitRepoWithCQuotedChange
initRepoWithCQuotedChange creates a repository with one committed file whose path forces git's C-quoting, then modifies it in the working tree. It mir
internal/diff/git_cquoted_test.go:31
↓ 2 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:294
↓ 2 callersFunctioninitRepoWithNonASCIIChange
initRepoWithNonASCIIChange creates a repository whose changed file path contains both non-ASCII characters and Next.js-style route groups. It forces G
internal/diff/git_test.go:307
↓ 2 callersMethodinitScanFingerprints
(items []model.ScanItem)
internal/scan/agent.go:254
↓ 2 callersMethodinjectDiffMap
injectDiffMap builds a read-only DiffMap from parsed diffs and sets it on the FileReadDiffProvider. Must be called after loadDiffs and before any conc
internal/agent/agent.go:619
↓ 2 callersFunctioninstallSignalHandlers
(child, platform, signalTarget)
bin/ocr.js:35
↓ 2 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:448
↓ 2 callersFunctionisLegalEscape
isLegalEscape reports whether s[i] opens a valid JSON escape sequence, given that s[i-1] is a backslash. \u additionally requires four hex digits.
internal/tool/comment_args_repair.go:61
↓ 2 callersFunctionisLineResolutionFailure
(error)
scripts/github-actions/post-review-comments.js:2731
↓ 2 callersFunctionisLoopbackHost
isLoopbackHost reports whether host is a loopback name or IP literal that is always safe to accept regardless of operator configuration.
internal/viewer/hostguard.go:42
↓ 2 callersFunctionisPartialLocale
(language: Language)
pages/src/content/docs/index.ts:60
↓ 2 callersMethodisPathExcluded
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:313
↓ 2 callersFunctionisProcessRunning
(pid)
plugins/open-code-review/opencode/test/open-code-review.test.mjs:90
↓ 2 callersFunctionisProviderDirExcluded
isProviderDirExcluded reports whether relPath matches the provider's unconditional directory blocklist. A .gitignore negation cannot re-admit one of t
internal/diff/git.go:343
↓ 2 callersFunctionisValidProviderName
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigDraft.kt:116
↓ 2 callersFunctionjcefUnsupportedPlaceholder
* Fallback notice for when JCEF is unavailable (all of the plugin's UI is then unusable). * [locale] defaults to the IDE UI language: reaching this p
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/JcefReviewPanel.kt:100
↓ 2 callersFunctionjobText
(name)
scripts/github-actions/release-contract.test.js:19
↓ 2 callersFunctionjsGetSubstitution
jsGetSubstitution implements ECMAScript GetSubstitution for String.prototype.replace when replaceValue is a string: $$, $&, $`, $' and $1..$9 capture
internal/viewer/server_extra_test.go:1073
↓ 2 callersMethodjumpTo
(index: number)
extensions/vscode/src/extension/providers/CommentProvider.ts:201
↓ 2 callersFunctionkeyCmdConfiguredHint
keyCmdConfiguredHint explains why this step accepts an empty field. A provider configured only by command renders a blank input -- the command line is
cmd/opencodereview/provider_tui.go:2606
↓ 2 callersFunctionkeyCmdConfiguredHintLine
(indent, keyLabel string)
cmd/opencodereview/provider_tui.go:2610
↓ 2 callersFunctionkillPID
(pid int)
acp/internal/orchestrator/process_alive_unix_test.go:29
↓ 2 callersFunctionlauncherExitCode
(result)
bin/ocr.js:21
↓ 2 callersFunctionlegacyLLMShadowWarning
(provider, key string)
cmd/opencodereview/config_cmd.go:217
↓ 2 callersFunctionlevenshtein
(a, b string)
cmd/opencodereview/flag_suggest.go:63
↓ 2 callersFunctionlimitErrorBodyForLog
limitErrorBodyForLog bounds the payload included in terminal and session logs without truncating the response the SDK parsed. Control bytes are droppe
internal/llm/client.go:1040
↓ 2 callersFunctionlistEntries
(repoRoot, rel, want, ext)
scripts/github-actions/check-plugin-contract.js:839
↓ 2 callersMethodlistFiles
listFiles returns all source files under repoDir. In a git repo it uses `git ls-files` for full .gitignore semantics (nested + global excludes + negat
internal/scan/provider.go:177
↓ 2 callersMethodlist_discussions
Return all MR discussions, or None when the read failed.
examples/gitlab_ci/post_review.py:987
↓ 2 callersMethodlist_notes
Return all MR notes, or None when the read failed.
examples/gitlab_ci/post_review.py:972
↓ 2 callersFunctionliteralPathBatches
(groups [][]string)
internal/behaviortask/search.go:19
↓ 2 callersFunctionllmTestTimeout
(taskSeconds int, endpointTimeout time.Duration)
cmd/opencodereview/llm_cmd.go:171
↓ 2 callersFunctionloadFile
(t *testing.T, relPath string)
internal/release/asset_naming_test.go:47
↓ 2 callersMethodloadGitignorePatterns
loadGitignorePatterns reads and parses .gitignore patterns from the repo root.
internal/diff/git.go:284
↓ 2 callersFunctionloadGlobalRule
()
internal/config/rules/system_rules.go:371
↓ 2 callersFunctionloadJob
(cmd *exec.Cmd)
acp/internal/orchestrator/process/process_windows.go:100
↓ 2 callersFunctionloadPackageJson
()
scripts/install.js:64
↓ 2 callersFunctionloadResumeState
(repoDir, sessionID string, skipUnparseable bool)
internal/session/resume.go:111
↓ 2 callersFunctionloadRuleFile
(path string)
internal/config/rules/system_rules.go:392
↓ 2 callersFunctionlocalOutcomeError
(cause error, cleanupErrs ...error)
acp/internal/orchestrator/runner.go:300
↓ 2 callersFunctionlocalTermination
localTermination is a synchronous observation, not a watcher notification. Once an observation selects a cause, callers retain it throughout cleanup.
acp/internal/orchestrator/runner.go:204
↓ 2 callersFunctionlog
(msg)
examples/gerrit_ci/post_review.py:61
↓ 2 callersFunctionlog
(msg)
examples/gitflic_ci/post_review.py:47
↓ 2 callersMethodlogExclusions
logExclusions reports the files the selection dropped: the static gates first with their rollup, then the size gate with its own, so the two groups st
internal/agent/agent.go:2051
↓ 2 callersFunctionlogRateLimitQuota
(response, tag, log)
scripts/github-actions/post-review-comments.js:1995
↓ 2 callersMethodlogSelection
(decisions []scanSelection)
internal/scan/agent.go:461
↓ 2 callersMethodloginAttempt
(ctx context.Context, host string, registration, old *Auth, noBrowser, consent bool, out io.Writer, issued *st
internal/chatgptauth/oauth.go:359
↓ 2 callersFunctionlooksLikeObjC
looksLikeObjC reports whether the first non-blank line of content looks like Objective-C rather than MATLAB. It returns false (keeping the default MAT
internal/config/rules/sniffer.go:162
↓ 2 callersFunctionmakeSelfLoginResolver
(github, log)
scripts/github-actions/post-review-comments.js:3173
↓ 2 callersMethodmanifestInput
manifestInput builds the frozen input identity per the input-mode field matrix: range carries both requested refs, commit carries only the requested h
internal/agent/agent.go:986
↓ 2 callersMethodmanualAuthTokenCmd
manualAuthTokenCmd returns the configured llm.auth_token_cmd, which the resolver runs when llm.auth_token is empty. Trimmed for the same reason as api
cmd/opencodereview/provider_tui.go:1146
↓ 2 callersMethodmarkdown
()
acp/internal/adapter/presentation/progress_format.go:48
↓ 2 callersFunctionmarkdownForOutput
(writer io.Writer, markdown string)
cmd/opencodereview/markdown.go:27
↓ 2 callersFunctionmarksStorageKey
()
internal/viewer/static/session.js:217
↓ 2 callersFunctionmaskKey
(key string)
cmd/opencodereview/provider_cmd.go:453
↓ 2 callersFunctionmatchGitignoreBody
matchGitignoreBody reports whether relPath matches a single pattern body — the pattern with any leading "!" already stripped.
internal/diff/git.go:362
↓ 2 callersFunctionmatchProjectRuleEntry
(pr *ProjectRule, path string)
internal/config/rules/system_rules.go:535
↓ 2 callersFunctionmatchesFilters
(card)
internal/viewer/static/session.js:104
↓ 2 callersFunctionmaximumArgs
maximumArgs behaves like cobra.MaximumNArgs(n) but reports too many arguments with the command's own usage information.
cmd/opencodereview/arg_errors.go:45
↓ 2 callersMethodmergeBase
(root: string, from: string, to: string)
extensions/vscode/src/extension/services/GitService.ts:402
↓ 2 callersFunctionmergeModelLists
(...lists: string[][])
extensions/frontend/src/shared/providers.ts:36
↓ 2 callersMethodmergeWithSystemRule
(path, rule string)
internal/config/rules/system_rules.go:489
↓ 2 callersFunctionmergeWorkspaceFiles
Merges tracked changes with untracked files, deduplicating by path with tracked entries taking priority. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitMap.kt:69
↓ 2 callersFunctionmergeWorkspaceFiles
(tracked: FileChange[], untrackedPaths: string[])
extensions/vscode/src/extension/services/gitMap.ts:57
↓ 2 callersMethodmessages
()
internal/behaviortask/runner.go:167
← previousnext →1,601–1,700 of 7,390, ranked by callers