Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/open-code-review
/ functions
Functions
7,390 in github.com/alibaba/open-code-review
⨍
Functions
7,390
◇
Types & classes
806
↓ 2 callers
Function
cleanupOutputTemp
(file *os.File, path string)
cmd/opencodereview/shared.go:583
↓ 2 callers
Method
clear
()
extensions/vscode/src/extension/providers/CommentProvider.ts:314
↓ 2 callers
Function
cloneCustomProviderList
(src []customProviderListItem)
cmd/opencodereview/provider_tui.go:1356
↓ 2 callers
Function
clonePending
(p *Pending)
acp/internal/intent/state.go:62
↓ 2 callers
Method
closeAll
()
internal/gitcmd/runner.go:205
↓ 2 callers
Method
closeRead
closeRead unblocks a pending read. It is safe to call repeatedly and concurrently with the reader: closing the file makes Read return.
internal/gitcmd/runner.go:199
↓ 2 callers
Function
collectCommits
(commits, nodes)
scripts/github-actions/check-pr-commit-policy.js:34
↓ 2 callers
Function
colorf
colorf formats then colorizes, so call sites need not nest fmt.Sprintf.
cmd/opencodereview/color.go:92
↓ 2 callers
Function
commandExitCode
(err error)
acp/internal/orchestrator/runner.go:323
↓ 2 callers
Function
comment_span
Resolve a review comment into a line span tagged single/multi-line.
examples/gitlab_ci/post_review.py:422
↓ 2 callers
Method
commitParents
commitParents returns the parent commit SHAs of ref: zero for a root commit, one for an ordinary commit, and 2+ for a merge. It uses `rev-list --paren
internal/diff/git.go:602
↓ 2 callers
Function
compareFixture
compareFixture builds a sessions root with the sessions every TestHandleCompare row draws on and returns it. s1 (before) and s2 (after) share one fin
internal/viewer/compare_test.go:165
↓ 2 callers
Function
comparisonDefinition
(function llm.FunctionDef, workspace bool)
internal/config/toolsconfig/comparison.go:39
↓ 2 callers
Method
complete
(ctx context.Context, request llm.ChatRequest, finalSubmission bool)
internal/behaviortask/budget.go:50
↓ 2 callers
Function
completeSessionIDsAnywhere
completeSessionIDs offers the persisted session ids for the current repo (or --repo, when already typed) as shell completions, newest first, with a sh
cmd/opencodereview/session_cmd.go:152
↓ 2 callers
Function
compressionSummary
(text string)
internal/llmloop/compression.go:185
↓ 2 callers
Function
configuredParser
(opts llm.Options)
acp/cmd/ocr-acp/main.go:72
↓ 2 callers
Function
confirmDeletion
confirmDeletion reads a yes/no answer; a non-interactive stdin answers no.
cmd/opencodereview/session_cmd.go:671
↓ 2 callers
Function
consumeStreams
(stdout, stderr io.Reader, limits Limits, emit func(Event))
acp/internal/orchestrator/streams.go:132
↓ 2 callers
Function
containsEvent
(events []Event, message string)
acp/internal/orchestrator/runner_test.go:278
↓ 2 callers
Method
content
()
acp/internal/adapter/presentation/progress_format.go:44
↓ 2 callers
Function
contextIndex
(contexts []Context)
internal/behaviortask/observation.go:196
↓ 2 callers
Function
copyProvider
(p Provider)
internal/llm/providers.go:539
↓ 2 callers
Function
countCommentsRaw
(raw json.RawMessage)
internal/session/list.go:337
↓ 2 callers
Function
countDispatchable
(diffs []model.Diff)
internal/agent/agent.go:923
↓ 2 callers
Function
countLines
countLines returns the number of lines in content. A file without a trailing newline still counts its final line. Empty input → 0.
internal/scan/provider.go:435
↓ 2 callers
Function
counterpartPaths
(enPath)
scripts/github-actions/check-translation-sync.js:175
↓ 2 callers
Function
createHeadingIdResolver
()
pages/src/utils/headingId.ts:42
↓ 2 callers
Method
cssVariables
Builds the injected `:root { ... }`. A value that cannot be read falls back to a default * color; this never throws. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/jcef/IdeaTheme.kt:116
↓ 2 callers
Function
ctrlBreakUndeliverable
ctrlBreakUndeliverable reports whether err can only mean that a console control event reached no process, which is an expected outcome rather than a c
acp/internal/orchestrator/process/winapi_windows.go:241
↓ 2 callers
Method
cursorOnDeletableModel
cursorOnDeletableModel reports whether the model-step cursor is on a row that can be deleted (not on "Enter custom model name...").
cmd/opencodereview/provider_tui.go:509
↓ 2 callers
Method
cursorOnUserAddedModel
()
cmd/opencodereview/provider_tui.go:2780
↓ 2 callers
Method
customAPIKeyForSave
customAPIKeyForSave reports the API key to persist and whether the user edited the field (vs left the masked placeholder untouched).
cmd/opencodereview/provider_tui.go:910
↓ 2 callers
Function
delegateExamples
(t *testing.T)
internal/delegate/instructions_test.go:93
↓ 2 callers
Function
delegateGitEnv
()
internal/delegate/instructions_test.go:29
↓ 2 callers
Function
describeActiveProvider
(config: OcrConfig | null)
extensions/frontend/src/shared/configUtils.ts:44
↓ 2 callers
Function
describeCommentLocation
(reviewComment)
scripts/github-actions/post-review-comments.js:2876
↓ 2 callers
Method
detach
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/CliCancellation.kt:42
↓ 2 callers
Method
detachSidebar
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/review/ReviewProjectService.kt:122
↓ 2 callers
Function
detectInitialTab
(config: OcrConfig | null)
extensions/frontend/src/shared/configUtils.ts:25
↓ 2 callers
Function
diffStatus
(d model.Diff)
internal/agent/preview.go:136
↓ 2 callers
Method
discard
(index: number)
extensions/vscode/src/extension/providers/CommentProvider.ts:176
↓ 2 callers
Method
discover
(ctx context.Context, d *discovery)
internal/chatgptauth/oauth.go:56
↓ 2 callers
Method
dispatchBatch
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:677
↓ 2 callers
Method
dispose
()
extensions/vscode/src/extension/providers/ConfigPanelProvider.ts:54
↓ 2 callers
Function
download
(url, maxRedirects = 10)
scripts/install.js:94
↓ 2 callers
Function
emitError
(file, message)
scripts/github-actions/check-translation-sync.js:206
↓ 2 callers
Function
emitGroupingSkipped
emitGroupingSkipped records a partition that was decided without an LLM round trip. Both skip paths report through here so their attribute sets cannot
internal/agent/grouping.go:163
↓ 2 callers
Method
emitSync
()
extensions/vscode/src/extension/providers/CommentProvider.ts:43
↓ 2 callers
Function
emitWarning
(file, message)
scripts/github-actions/check-translation-sync.js:211
↓ 2 callers
Function
emitWarning
(file, message, line)
scripts/github-actions/check-plugin-contract.js:742
↓ 2 callers
Function
emptyMarks
()
internal/viewer/static/session.js:213
↓ 2 callers
Function
emptyResponse
()
internal/reviewtask/retry_identity_test.go:62
↓ 2 callers
Function
emptyResponse
()
internal/llmloop/retry_identity_test.go:57
↓ 2 callers
Function
encodingForModel
(modelName string)
internal/llm/client.go:584
↓ 2 callers
Function
endpointURL
(rawURL, suffix string)
acp/internal/intent/llm/client.go:242
↓ 2 callers
Method
ensureTelemetry
()
cmd/opencodereview/config_cmd.go:1201
↓ 2 callers
Method
env
The current process environment overlaid with the login shell environment; falls back to the process environment when parsing fails. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ShellEnv.kt:50
↓ 2 callers
Function
errBedrockNotConfigurable
errBedrockNotConfigurable explains why the two url+token strategies reject the bedrock protocol. Both describe a single HTTP endpoint and carry no pla
internal/llm/resolver.go:254
↓ 2 callers
Function
errCaller
()
acp/internal/testutil/stub.go:96
↓ 2 callers
Function
errOutput
(err error, out []byte)
acp/internal/testutil/stub.go:105
↓ 2 callers
Function
escapeAnnotationData
(s)
scripts/github-actions/check-plugin-contract.js:732
↓ 2 callers
Function
escapeControl
escapeControl returns the JSON escape for a control character. JSON forbids every byte below 0x20 in a string, so those without a short form get \u00X
internal/tool/comment_args_repair.go:42
↓ 2 callers
Function
estimateDiffCost
estimateDiffCost projects token usage for reviewing the given diffs. It is the diff-path analogue of scan.estimateCost and is used for the pre-review
internal/agent/estimate.go:73
↓ 2 callers
Method
exchange
(ctx context.Context, a attempt, code, id string, old *Auth)
internal/chatgptauth/oauth.go:243
↓ 2 callers
Function
executeScanContext
(ctx context.Context, opts scanOptions)
cmd/opencodereview/scan_cmd.go:114
↓ 2 callers
Method
executeTool
Check the current request before dispatch so restricted rounds cannot invoke providers or completion actions that were only available in earlier round
internal/llmloop/loop.go:480
↓ 2 callers
Function
executionStats
executionStats shows aggregate CLI facts, not inferred per-invocation tool calls.
acp/internal/adapter/presentation/progress_format.go:137
↓ 2 callers
Function
exportTo
exportTo runs `session export` against repoDir, writing to a file under t.TempDir(), and returns the file's contents. The command reads its flags from
cmd/opencodereview/session_cmd_test.go:1088
↓ 2 callers
Function
extFromPath
(path string)
internal/scan/agent.go:524
↓ 2 callers
Method
extFromPath
extFromPath returns the file extension with leading dot, lowercased.
internal/agent/agent.go:2087
↓ 2 callers
Function
extractBlockText
(block ContentBlock)
internal/llm/client.go:265
↓ 2 callers
Function
extractCliError
(stderr: string)
extensions/vscode/src/extension/services/cliParse.ts:73
↓ 2 callers
Function
extractCodeBlock
extractCodeBlock extracts the content of the first fenced code block from text. Returns empty string if no code block is found.
internal/diff/relocation.go:99
↓ 2 callers
Function
extractTopLevelJSON
Some OpenAI-compatible gateways forward a model's raw completion text verbatim as tool-call arguments. A model whose response format leaks control tok
internal/reviewtask/tool_args_json.go:34
↓ 2 callers
Function
fallback
(_e: Error, reset: () => void)
pages/src/components/ErrorBoundary.test.tsx:81
↓ 2 callers
Method
falsePositive
(index: number)
extensions/vscode/src/extension/providers/CommentProvider.ts:177
↓ 2 callers
Function
fenced_block
Render ``content`` as a fenced code block with a safe fence.
examples/gitlab_ci/post_review.py:249
↓ 2 callers
Function
fileReadRef
fileReadRef picks the ref file_read resolves paths against. A sealed input replaces the ref the user typed with the commit that ref resolved to at ad
cmd/opencodereview/review_cmd.go:518
↓ 2 callers
Method
finalizeReview
finalizeReview validates slots, builds argv, checks refs, and updates state.
acp/internal/intent/parser.go:150
↓ 2 callers
Method
finalizeScan
(ctx context.Context, st *State, s *pendingSlots)
acp/internal/intent/parser.go:199
↓ 2 callers
Function
findLinesByExistingCode
(content: string, existingCode: string)
extensions/vscode/src/extension/providers/commentAnchor.ts:71
↓ 2 callers
Function
findSkipDirectives
(message)
scripts/github-actions/check-pr-commit-policy.js:23
↓ 2 callers
Function
findSummaryIssueComment
({ github, owner, repo, prNumber, sticky, tag, appSlug = "", resolveSelfLogin = null, log, }
scripts/github-actions/post-review-comments.js:1201
↓ 2 callers
Function
find_summary_note
Return the newest note carrying the summary marker (or per-run tag). ``tag`` selects the matching needle: when provided, match this run's per
examples/gitlab_ci/post_review.py:1166
↓ 2 callers
Function
finish
(callback: () => void)
plugins/open-code-review/opencode/open-code-review.ts:195
↓ 2 callers
Method
finishSend
(ctx context.Context, id acp.SessionId, err error, reason acp.StopReason)
acp/internal/adapter/prompt.go:122
↓ 2 callers
Function
firstNonBlankLine
(content string)
internal/config/rules/sniffer.go:174
↓ 2 callers
Function
firstNonEmpty
(values ...string)
acp/internal/intent/llm/resolve.go:156
↓ 2 callers
Function
fixtureChatGPTClient
(t *testing.T, handler http.HandlerFunc)
internal/llm/chatgpt_roundtrip_test.go:23
↓ 2 callers
Method
focusManualStep
()
cmd/opencodereview/provider_tui.go:1797
↓ 2 callers
Function
formatComment
(comment, id)
scripts/github-actions/post-review-comments.js:2381
↓ 2 callers
Function
formatDiffEntry
formatDiffEntry renders one changed file as STATUS path (+N/-M). It is the shared shape for both the grouping file list and the other-changed-files
internal/agent/agent.go:1679
↓ 2 callers
Function
formatReviewResult
(result: RunResult, preview: boolean)
plugins/open-code-review/opencode/open-code-review.ts:312
↓ 2 callers
Function
formatSummaryComments
(summaryComments)
scripts/github-actions/post-review-comments.js:2483
↓ 2 callers
Function
formatTime
(t time.Time)
internal/viewer/server.go:188
↓ 2 callers
Function
format_summary_comments
Render a list of ``{comment, reason}`` as a continuous block.
examples/gitlab_ci/post_review.py:390
↓ 2 callers
Function
format_warnings
Render warnings as a bulleted list under a heading ("" when empty).
examples/gitlab_ci/post_review.py:347
↓ 2 callers
Function
generateHeadingId
(text: string)
pages/src/utils/headingId.ts:27
↓ 2 callers
Method
get
(ctx context.Context, endpoint string, target any)
internal/chatgptauth/oauth.go:65
← previous
next →
1,501–1,600 of 7,390, ranked by callers