Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/open-code-review
/ functions
Functions
7,484 in github.com/alibaba/open-code-review
⨍
Functions
7,484
◇
Types & classes
809
↓ 1 callers
Function
toolCallExtraContent
toolCallExtraContent reads extra_content from a tool call's raw response JSON. The SDK's tool-call union has no ExtraFields map, so the raw payload is
internal/llm/client.go:1071
↓ 1 callers
Function
toolContext
(worktree, signal = new AbortController().signal)
plugins/open-code-review/opencode/test/open-code-review.test.mjs:69
↓ 1 callers
Method
toolFailureResult
toolFailureResult turns one failed execution of toolName within taskKey into the tool-call result sent back to the model, escalating its wording as th
internal/reviewtask/tool_failure_streak.go:73
↓ 1 callers
Function
touchTimestamp
()
scripts/update.js:25
↓ 1 callers
Function
trigger
()
pages/src/components/HeroSection.test.tsx:24
↓ 1 callers
Function
trim
trim shortens a reported line so the report stays readable.
scripts/verify-english-only.go:199
↓ 1 callers
Function
trimFloatSuffix
trimFloatSuffix removes trailing zeros and the trailing dot from a floating-point string like "1.10K" → "1.1K", "1.00K" → "1K".
internal/viewer/server.go:530
↓ 1 callers
Method
trimTrivia
(data []byte)
internal/llm/gen/check.go:178
↓ 1 callers
Function
tryLegacyLlmConfig
tryLegacyLlmConfig resolves an endpoint from the legacy llm config block.
internal/llm/resolver.go:632
↓ 1 callers
Function
tryLock
(f *os.File)
internal/chatgptauth/lock_unix.go:14
↓ 1 callers
Function
tryOCRConfig
tryOCRConfig reads the OCR config file.
internal/llm/resolver.go:377
↓ 1 callers
Function
tryOCREnv
tryOCREnv reads OCR-specific environment variables. The values are trimmed because an environment can carry a trailing "\r" — a .env file or a shell
internal/llm/resolver.go:275
↓ 1 callers
Function
tryProviderConfig
tryProviderConfig resolves an endpoint from the provider-based configuration.
internal/llm/resolver.go:405
↓ 1 callers
Function
tryReadRuleFile
tryReadRuleFile reads a rule file reference. Absolute paths are used directly; relative paths resolve against repoDir. When confineRoot is non-empty,
internal/config/rules/system_rules.go:592
↓ 1 callers
Function
tryScroll
(attempts: number)
pages/src/pages/DocsPage.tsx:47
↓ 1 callers
Function
turkishSearchPattern
(query: string)
pages/src/content/docs/index.ts:144
↓ 1 callers
Function
typeQuery
(value: string)
pages/src/pages/DocsPage.test.tsx:157
↓ 1 callers
Function
unlock
(f *os.File)
internal/chatgptauth/lock_unix.go:21
↓ 1 callers
Function
unquoteRenamePath
unquoteRenamePath decodes a "rename from"/"rename to" operand, which git quotes by the same rule and without any a/ or b/ prefix. A path git left bare
internal/diff/quotedpath.go:160
↓ 1 callers
Function
unrecognized
(r)
scripts/github-actions/post-review-comments.test.js:6978
↓ 1 callers
Function
unsafeSegment
unsafeSegment rejects a URL-supplied name that must stay a single directory or file name once it reaches filepath.Join. ServeMux unescapes each path s
internal/viewer/server.go:176
↓ 1 callers
Function
unsetEffort
(configPath string)
cmd/opencodereview/config_cmd.go:194
↓ 1 callers
Function
untrackedBinaryDiff
(path string)
internal/diff/git.go:658
↓ 1 callers
Method
untrackedFileDiffs
(ctx context.Context)
internal/diff/git.go:662
↓ 1 callers
Function
unwrapSummaryFence
(text string)
internal/llmloop/compression.go:152
↓ 1 callers
Method
updateAPIKeyInput
(key string, msg tea.KeyPressMsg)
cmd/opencodereview/provider_tui.go:1025
↓ 1 callers
Method
updateDeleteModelConfirm
(key string)
cmd/opencodereview/provider_tui.go:1615
↓ 1 callers
Function
updateFilterState
()
internal/viewer/static/session.js:114
↓ 1 callers
Method
urisMatch
(a: vscode.Uri, b: vscode.Uri)
extensions/vscode/src/extension/providers/CommentProvider.ts:298
↓ 1 callers
Function
useCountUp
(target: number, duration: number = 1200, isActive: boolean)
pages/src/components/HighlightsSection.tsx:29
↓ 1 callers
Function
useNpmDownloads
(pkg: string, period: Period = 'last-month')
pages/src/hooks/useNpmDownloads.ts:22
↓ 1 callers
Function
v2ToolContext
()
plugins/open-code-review/opencode/test/open-code-review.test.mjs:743
↓ 1 callers
Function
validContextKind
(kind string)
internal/behaviortask/observation.go:169
↓ 1 callers
Function
validInputMode
validInputMode reports whether m is one of the three mandatory input modes.
internal/session/manifest.go:42
↓ 1 callers
Function
validateAnalysisOptions
(opts reviewOptions)
cmd/opencodereview/analysis.go:25
↓ 1 callers
Function
validateBaseURL
(raw string)
acp/internal/intent/llm/resolve.go:142
↓ 1 callers
Method
validateInputIdentity
validateInputIdentity compares only the input half of the resume contract: the parent manifest must be verifiable, and every input field must match. P
internal/session/resume_identity.go:99
↓ 1 callers
Method
validateLocked
validateLocked enforces the contract invariants at Finalize. Caller holds b.mu.
internal/session/manifest.go:901
↓ 1 callers
Function
validateMCPServerName
validateMCPServerName mirrors validateProviderName: a server name may contain dots, but each dot-separated segment must be non-empty so a mistyped key
cmd/opencodereview/config_cmd.go:1094
↓ 1 callers
Method
validateReviewRefs
(ctx context.Context, ri *contract.ReviewIntent)
acp/internal/intent/parser.go:209
↓ 1 callers
Function
validateTimeoutSec
(sec int)
internal/llm/resolver.go:244
↓ 1 callers
Function
verify_tree
(folder, head, env)
plugins/open-code-review/skills/open-code-review/scripts/review_pr.py:96
↓ 1 callers
Function
verify_tree
(folder, head, env)
skills/open-code-review/scripts/review_pr.py:96
↓ 1 callers
Function
versionRequested
()
acp/testdata/ocr-stub/main.go:84
↓ 1 callers
Function
versionString
()
cmd/opencodereview/root.go:82
↓ 1 callers
Method
viewAPIKey
(s *strings.Builder)
cmd/opencodereview/provider_tui.go:2496
↓ 1 callers
Method
viewCustomProviderForm
(s *strings.Builder)
cmd/opencodereview/provider_tui.go:2284
↓ 1 callers
Method
viewCustomTab
(s *strings.Builder)
cmd/opencodereview/provider_tui.go:2234
↓ 1 callers
Method
viewManualTab
(s *strings.Builder)
cmd/opencodereview/provider_tui.go:2359
↓ 1 callers
Method
viewModel
(s *strings.Builder)
cmd/opencodereview/provider_tui.go:2441
↓ 1 callers
Method
viewOfficialTab
(s *strings.Builder)
cmd/opencodereview/provider_tui.go:2220
↓ 1 callers
Method
viewProvider
(s *strings.Builder)
cmd/opencodereview/provider_tui.go:2194
↓ 1 callers
Function
waitForFile
(path, timeoutMs = 5_000)
plugins/open-code-review/opencode/test/open-code-review.test.mjs:77
↓ 1 callers
Function
waitForInterrupt
(ready func())
acp/testdata/ocr-stub/interrupt_unix.go:14
↓ 1 callers
Function
waitForProcessExit
(pid, timeoutMs = 5_000)
plugins/open-code-review/opencode/test/open-code-review.test.mjs:100
↓ 1 callers
Function
wait_for_cancel
()
acp/testdata/python-client-smoke.py:72
↓ 1 callers
Function
wantMeta
(t *testing.T, got capturedRequest, want llm.RequestMeta)
internal/llmloop/retry_identity_test.go:79
↓ 1 callers
Function
warn
(msg)
scripts/install.js:23
↓ 1 callers
Method
watchWorkspaceChanges
* Subscribes to workspace file changes and, debounced, calls back with the new workspace state. * Without this listener, the sidebar's to-review
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:458
↓ 1 callers
Method
watchWorkspaceChanges
* Subscribe to VS Code Git repository state changes and debounce workspace file list refreshes. * Keep staged, working tree, and untracked changes
extensions/vscode/src/extension/services/GitService.ts:101
↓ 1 callers
Function
webConfig
(name, entry, mode)
extensions/frontend/webpack.config.js:13
↓ 1 callers
Function
windowsPIDRunning
(pid int)
acp/internal/orchestrator/process_alive_windows_test.go:35
↓ 1 callers
Function
withFakeOcr
(source, callback)
plugins/open-code-review/opencode/test/open-code-review.test.mjs:38
↓ 1 callers
Function
withHead
(head)
scripts/github-actions/post-review-comments.test.js:4289
↓ 1 callers
Function
withRange
(over, result)
scripts/github-actions/post-review-comments.test.js:5560
↓ 1 callers
Function
withRetry
(tag, fn, log)
scripts/github-actions/post-review-comments.js:2027
↓ 1 callers
Function
withShortOverallTimeout
(timeoutMs, callback)
plugins/open-code-review/opencode/test/open-code-review.test.mjs:109
↓ 1 callers
Function
withTemporaryBackgroundFile
( background: string, callback: (path: string) => Promise<T>, )
plugins/open-code-review/opencode/open-code-review.ts:128
↓ 1 callers
Method
workspaceTrackedDiff
workspaceTrackedDiff returns the tracked-file diff, git's stderr, and the failure if there was one. Stderr is returned separately so the caller can qu
internal/diff/git.go:628
↓ 1 callers
Function
wrapSummary
(content)
scripts/github-actions/post-review-comments.js:474
↓ 1 callers
Method
writeArtifact
(name string, data []byte)
internal/behaviortask/runner.go:310
↓ 1 callers
Function
writeCompareSession
writeCompareSession writes a minimal session JSONL: session_start, one review_item_done carrying the findings, and session_end. Pass an empty coverage
internal/viewer/compare_test.go:64
↓ 1 callers
Function
writeFile
(t *testing.T, path, content string)
acp/internal/contract/real_cli_test.go:175
↓ 1 callers
Function
writeFileAtomically
(output string, data []byte, perm os.FileMode)
internal/llm/gen/main.go:75
↓ 1 callers
Function
writeHint
(latestVersion, pkgName)
scripts/update.js:117
↓ 1 callers
Method
writeRaw
(raw: RawConfig)
extensions/vscode/src/extension/services/ConfigService.ts:40
↓ 1 callers
Function
writeReport
(b *strings.Builder, root, operation, status, message string, summary *contract.Summary, comments []contract.C
acp/internal/adapter/presentation/report.go:66
↓ 1 callers
Function
writeScanResumeSession
writeScanResumeSession persists a full-scan session with the given completed file checkpoints and returns its ID. HOME must already point at a temp di
cmd/opencodereview/scan_resume_more_test.go:15
↓ 1 callers
Function
writeSeverityCounts
(b *strings.Builder, comments []contract.Comment)
acp/internal/adapter/presentation/report.go:152
↓ 1 callers
Function
writeStepSummary
(env, warnings)
scripts/github-actions/check-translation-sync.js:251
↓ 1 callers
Function
writeTestSession
writeTestSession creates a real JSONL session using the persistence layer so tests exercise the same on-disk format that ListSessions consumes. It ret
internal/session/list_test.go:248
↓ 1 callers
Function
writeVerifiableParent
writeVerifiableParent persists a review session whose manifest records identity with the given provider and model, as a completed parent run would.
cmd/opencodereview/review_resume_more_test.go:140
↓ 1 callers
Function
writeVerifiableWorkspaceParent
writeVerifiableWorkspaceParent persists a workspace-mode review session whose manifest records the given identity, as a completed parent run would.
cmd/opencodereview/review_resume_more_test.go:193
↓ 1 callers
Function
writeWorkspaceResumeSession
writeWorkspaceResumeSession persists a workspace-mode review session with the given completed file checkpoints and returns its ID. HOME must already p
cmd/opencodereview/review_resume_more_test.go:177
↓ 1 callers
Function
write_mock_wrapper
(root, script)
acp/testdata/python-client-smoke.py:94
↓ 1 callers
Function
write_stats_file
Write a dotenv file of posting stats for downstream CI jobs.
examples/gitlab_ci/post_review.py:1520
Function
ActiveProviderBanner
({ config }: { config: OcrConfig | null })
extensions/frontend/src/webview/views/ConfigView.tsx:194
Function
App
()
pages/src/App.tsx:74
Function
App
()
extensions/frontend/src/webview/App.tsx:18
Method
ApplyLanguage
(language string)
internal/config/template/behavior.go:71
Function
BenchmarkListSessionsResponseRecords
(b *testing.B)
internal/viewer/summary_allocation_test.go:32
Function
BenchmarkPage
()
pages/src/pages/BenchmarkPage.tsx:9
Function
BenchmarkSection
()
pages/src/components/BenchmarkSection.tsx:62
Function
BlogPage
()
pages/src/pages/BlogPage.tsx:35
Method
BudgetExceeded
BudgetExceeded reports whether the aggregate token budget gate stopped dispatch before all files were reviewed. The run still returns the partial comm
internal/agent/agent.go:560
Method
BudgetExceeded
()
cmd/opencodereview/emit_run_result_test.go:59
Method
CallTool
(ctx context.Context, req LLMRequest)
acp/internal/intent/fake_test.go:38
Method
CallTool
(ctx context.Context, _ LLMRequest)
acp/internal/intent/natural_test.go:479
Method
CallTool
(ctx context.Context, _ intent.LLMRequest)
acp/internal/adapter/lifecycle_test.go:58
Method
CallTool
(context.Context, intent.LLMRequest)
acp/internal/adapter/connection_test.go:21
← previous
next →
3,101–3,200 of 7,484, ranked by callers