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
↓ 2 callers
Function
jobText
(name)
scripts/github-actions/release-contract.test.js:19
↓ 2 callers
Function
jsGetSubstitution
jsGetSubstitution implements ECMAScript GetSubstitution for String.prototype.replace when replaceValue is a string: $$, $&, $`, $' and $1..$9 capture
internal/viewer/server_extra_test.go:1076
↓ 2 callers
Method
jumpTo
(index: number)
extensions/vscode/src/extension/providers/CommentProvider.ts:201
↓ 2 callers
Function
keyCmdConfiguredHint
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:2620
↓ 2 callers
Function
keyCmdConfiguredHintLine
(indent, keyLabel string)
cmd/opencodereview/provider_tui.go:2624
↓ 2 callers
Function
killPID
(pid int)
acp/internal/orchestrator/process_alive_unix_test.go:29
↓ 2 callers
Function
launcherExitCode
(result)
bin/ocr.js:21
↓ 2 callers
Function
legacyLLMShadowWarning
(provider, key string)
cmd/opencodereview/config_cmd.go:226
↓ 2 callers
Function
levenshtein
(a, b string)
cmd/opencodereview/flag_suggest.go:62
↓ 2 callers
Function
limitErrorBodyForLog
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:1039
↓ 2 callers
Function
listEntries
(repoRoot, rel, want, ext)
scripts/github-actions/check-plugin-contract.js:839
↓ 2 callers
Method
listFiles
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:175
↓ 2 callers
Method
list_discussions
Return all MR discussions, or None when the read failed.
examples/gitlab_ci/post_review.py:1136
↓ 2 callers
Function
literalPathBatches
(groups [][]string)
internal/behaviortask/search.go:20
↓ 2 callers
Function
llmTestTimeout
(taskSeconds int, endpointTimeout time.Duration)
cmd/opencodereview/llm_cmd.go:168
↓ 2 callers
Function
loadFile
(t *testing.T, relPath string)
internal/release/asset_naming_test.go:47
↓ 2 callers
Function
loadGlobalRule
()
internal/config/rules/system_rules.go:372
↓ 2 callers
Function
loadJob
(cmd *exec.Cmd)
acp/internal/orchestrator/process/process_windows.go:100
↓ 2 callers
Function
loadPackageJson
()
scripts/install.js:64
↓ 2 callers
Function
loadResumeState
(repoDir, sessionID string, skipUnparseable bool)
internal/session/resume.go:112
↓ 2 callers
Function
loadRuleFile
(path string)
internal/config/rules/system_rules.go:393
↓ 2 callers
Function
localOutcomeError
(cause error, cleanupErrs ...error)
acp/internal/orchestrator/runner.go:300
↓ 2 callers
Function
localTermination
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 callers
Function
lockExclusive
(f *os.File)
internal/session/lock_unix.go:15
↓ 2 callers
Function
log
(msg)
examples/gerrit_ci/post_review.py:61
↓ 2 callers
Function
log
(msg)
examples/gitflic_ci/post_review.py:47
↓ 2 callers
Method
logExclusions
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:2082
↓ 2 callers
Function
logRateLimitQuota
(response, tag, log)
scripts/github-actions/post-review-comments.js:1973
↓ 2 callers
Method
logSelection
(decisions []scanSelection)
internal/scan/agent.go:461
↓ 2 callers
Method
loginAttempt
(ctx context.Context, host string, registration, old *Auth, noBrowser, consent bool, out io.Writer, issued *st
internal/chatgptauth/oauth.go:359
↓ 2 callers
Function
looksLikeObjC
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:168
↓ 2 callers
Function
lookup
(number, repo, cwd, env)
skills/open-code-review/scripts/review_pr.py:43
↓ 2 callers
Function
makeSelfLoginResolver
(github, log)
scripts/github-actions/post-review-comments.js:3302
↓ 2 callers
Method
manifestInput
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:998
↓ 2 callers
Method
manualAuthTokenCmd
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:1160
↓ 2 callers
Method
markdown
()
acp/internal/adapter/presentation/progress_format.go:48
↓ 2 callers
Function
markdownForOutput
(writer io.Writer, markdown string)
cmd/opencodereview/markdown.go:27
↓ 2 callers
Function
marksStorageKey
()
internal/viewer/static/session.js:217
↓ 2 callers
Function
maskKey
(key string)
cmd/opencodereview/provider_cmd.go:459
↓ 2 callers
Function
matchGitignoreEntry
(name, pattern string, directory, ignoreCase bool)
internal/diff/gitignore_match.go:35
↓ 2 callers
Function
matchIgnoreClass
(pattern string, value byte, ignoreCase bool)
internal/diff/gitignore_match.go:146
↓ 2 callers
Function
matchProjectRuleEntry
(pr *ProjectRule, path string)
internal/config/rules/system_rules.go:536
↓ 2 callers
Method
matches
Matching the whole preamble prevents comments from satisfying a missing declaration.
internal/llm/gen/check.go:164
↓ 2 callers
Function
matchesFilters
(card)
internal/viewer/static/session.js:104
↓ 2 callers
Function
maximumArgs
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 callers
Method
mergeBase
(root: string, from: string, to: string)
extensions/vscode/src/extension/services/GitService.ts:402
↓ 2 callers
Function
mergeModelLists
(...lists: string[][])
extensions/frontend/src/shared/providers.ts:36
↓ 2 callers
Method
mergeWithSystemRule
(path, rule string)
internal/config/rules/system_rules.go:490
↓ 2 callers
Function
mergeWorkspaceFiles
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 callers
Function
mergeWorkspaceFiles
(tracked: FileChange[], untrackedPaths: string[])
extensions/vscode/src/extension/services/gitMap.ts:57
↓ 2 callers
Method
messages
()
internal/behaviortask/runner.go:167
↓ 2 callers
Function
minimumArgs
minimumArgs behaves like cobra.MinimumNArgs(n) but reports too few arguments with the command's own usage information.
cmd/opencodereview/arg_errors.go:34
↓ 2 callers
Function
modeWarning
modeWarning mirrors the only comparability warning `ocr session compare` emits (cmd/opencodereview/session_cmd.go, runSessionCompare): a differing rev
internal/viewer/handler.go:151
↓ 2 callers
Function
nativeTurnForJSON
(n llm.NativeTurn)
internal/session/history.go:499
↓ 2 callers
Function
newBlockingCompressionClient
(c *llm.RetryCollector)
internal/llmloop/retry_background_test.go:31
↓ 2 callers
Function
newCommentId
(runTag)
scripts/github-actions/post-review-comments.js:2162
↓ 2 callers
Method
newDiffProvider
newDiffProvider resolves the configured input to a diff provider.
internal/agent/agent.go:568
↓ 2 callers
Function
newDivergedBranchRepo
newDivergedBranchRepo builds a repository where main and feature both have commits after the merge-base, and the feature worktree also carries an unco
cmd/opencodereview/default_to_head_e2e_test.go:22
↓ 2 callers
Function
newHistory
(sessionID, repoDir, gitBranch, model string, opts SessionOptions)
internal/session/history.go:177
↓ 2 callers
Function
newJSONLWriter
newJSONLWriter creates and opens a new JSONL writer for the given session.
internal/session/persist.go:49
↓ 2 callers
Function
newKeyCmd
newKeyCmd builds the OS-specific shell invocation (sh -c on Unix) that runs a credential command under ctx, so its timeout and cancellation are honore
internal/llm/keycmd_unix.go:32
↓ 2 callers
Function
newObservationStore
(directory, comparisonID string)
internal/behaviortask/observation.go:62
↓ 2 callers
Function
newOutputPipe
()
internal/gitcmd/runner.go:193
↓ 2 callers
Function
newPagedTestMCPServer
newPagedTestMCPServer returns a server that publishes toolCount tools one page at a time, so a client reading a single page sees only the first one.
internal/mcp/stdio_test.go:88
↓ 2 callers
Function
newResponsesSessionTestServer
newResponsesSessionTestServer returns an httptest server that captures each request's headers and JSON body and responds with a minimal completed resp
internal/llm/responses_client_test.go:1097
↓ 2 callers
Function
newStdoutMetricExporter
newStdoutMetricExporter creates a console metric exporter with pretty-print output.
internal/telemetry/exporter.go:30
↓ 2 callers
Function
newStdoutTraceExporter
newStdoutTraceExporter creates a console trace exporter with pretty-print output.
internal/telemetry/exporter.go:25
↓ 2 callers
Function
newWorkspaceResumeFixture
newWorkspaceResumeFixture builds the repo, runs one workspace review in which c.go fails permanently and the other two files complete, then clears the
cmd/opencodereview/workspace_resume_e2e_test.go:77
↓ 2 callers
Function
newWorkspaceResumeFixtureWithUntracked
newWorkspaceResumeFixtureWithUntracked is newWorkspaceResumeFixture plus untracked files that join the parent review input.
cmd/opencodereview/workspace_resume_e2e_test.go:84
↓ 2 callers
Function
noLine
(path)
scripts/github-actions/post-review-comments.test.js:6932
↓ 2 callers
Function
nonNegativeMillis
nonNegativeMillis converts d to milliseconds, flooring at zero. Timestamps taken from time.Now carry a monotonic reading, so a real attempt can never
internal/llm/retry_report.go:362
↓ 2 callers
Function
normalizeDiffTarget
(from, to, commit string)
cmd/opencodereview/shared_flags.go:122
↓ 2 callers
Function
normalizeExtraContent
normalizeExtraContent drops absent, empty and null values so that a provider sending "extra_content": null produces the same wire format as one omitti
internal/llm/client.go:1084
↓ 2 callers
Function
normalizeScanPaths
(paths []string)
internal/session/resume.go:318
↓ 2 callers
Function
normalizedCommentCategory
(category string)
internal/viewer/server.go:229
↓ 2 callers
Function
observePair
(test *testing.T, runner *Runner)
internal/behaviortask/runner_test.go:115
↓ 2 callers
Function
officialAPIKeyEnvSetHint
(envVar string, hasSavedKey bool)
cmd/opencodereview/provider_tui.go:2595
↓ 2 callers
Function
officialProviderEnvKeySet
(p llm.Provider)
cmd/opencodereview/provider_tui.go:937
↓ 2 callers
Method
officialProviderUsesExternalCredentials
()
cmd/opencodereview/provider_tui.go:985
↓ 2 callers
Function
onDiskName
onDiskName returns the name of the directory entry under dir that the filesystem resolves as name, preferring an entry spelled exactly. The listing is
internal/scan/provider.go:405
↓ 2 callers
Method
onMessage
(handler: (msg: HostToWebview) => void)
extensions/frontend/src/webview/bridge.ts:15
↓ 2 callers
Method
onState
Identity check: cancel() kills the process without detaching callbacks, so the old run may still call onState and friends from another thread; if a ne
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/SidebarRouter.kt:183
↓ 2 callers
Method
only
(t *testing.T)
internal/agent/retry_identity_test.go:42
↓ 2 callers
Method
open
()
internal/session/persist.go:116
↓ 2 callers
Function
openAIChatURL
(rawURL string)
acp/internal/intent/llm/client.go:233
↓ 2 callers
Function
openAnalysis
(root, repo, id string)
internal/viewer/analysis.go:59
↓ 2 callers
Function
openBrowser
openBrowser resolves the candidate list for this host and runs it.
internal/viewer/browser.go:203
↓ 2 callers
Method
openDiff
* Opens a file's changes in the IDEA diff viewer. An added file gets empty left-side content and a deleted * file empty right-side content instea
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:320
↓ 2 callers
Method
openFile
(filename string, flags int)
internal/session/persist.go:148
↓ 2 callers
Function
openRawWriter
(path, sessionID string, flags int)
internal/session/raw_writer.go:67
↓ 2 callers
Function
otlpSignalURL
otlpSignalURL builds the URL for one signal from the configured endpoint. OTEL_EXPORTER_OTLP_ENDPOINT is defined by the OpenTelemetry specification a
internal/telemetry/exporter.go:69
↓ 2 callers
Function
outputJSON
(comments []model.LlmComment)
cmd/opencodereview/output.go:378
↓ 2 callers
Function
outputJSONNoFiles
(traceID string, llmIdentity *jsonLLMIdentity, out io.Writer)
cmd/opencodereview/output.go:684
↓ 2 callers
Function
outputPreviewJSON
(p *agent.DiffPreview, out io.Writer)
cmd/opencodereview/output.go:786
↓ 2 callers
Function
outputText
(comments []model.LlmComment)
cmd/opencodereview/output.go:41
↓ 2 callers
Function
overlapsComments
(reviewComment, comments, threshold = DEFAULT_OVERLAP_THRESHOLD)
scripts/github-actions/post-review-comments.js:1378
↓ 2 callers
Function
parseBatchStrategy
parseBatchStrategy normalizes a user-supplied strategy string. Unknown or empty values fall back to BatchNone (safe v1 behavior).
internal/scan/batch.go:28
↓ 2 callers
Function
parseCliResult
(stdout: string)
extensions/vscode/src/extension/services/cliParse.ts:39
↓ 2 callers
Function
parseCommentsInner
(args map[string]any, defaultPath string)
internal/tool/code_comment.go:101
↓ 2 callers
Function
parseConfig
(raw: string)
extensions/vscode/src/extension/services/configParse.ts:30
← previous
next →
1,701–1,800 of 7,599, ranked by callers