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
unlock
(f *os.File)
internal/session/lock_unix.go:31
↓ 2 callers
Function
unmarshalAnthropicBody
(t *testing.T, body string)
internal/llm/native_turn_test.go:31
↓ 2 callers
Method
unobserve
()
pages/src/pages/DocsPage.test.tsx:184
↓ 2 callers
Function
unquoteScalar
(value)
scripts/github-actions/check-plugin-contract.js:419
↓ 2 callers
Function
unreadableLocalFile
(t *testing.T)
acp/internal/adapter/locations_test.go:30
↓ 2 callers
Function
unsetActiveProvider
(configPath string)
cmd/opencodereview/config_cmd.go:210
↓ 2 callers
Function
unsetMaxTokens
(configPath string)
cmd/opencodereview/config_cmd.go:180
↓ 2 callers
Method
update
(ctx context.Context, id acp.SessionId, msg string)
acp/internal/adapter/agent.go:59
↓ 2 callers
Method
updateCustomModelInput
(key string, msg tea.KeyPressMsg)
cmd/opencodereview/provider_tui.go:765
↓ 2 callers
Method
updateDeleteConfirm
(key string)
cmd/opencodereview/provider_tui.go:1567
↓ 2 callers
Function
upsert_summary
Find-or-create/update a summary note. Sticky matches the cross-run :data:`SUMMARY_MARKER`; non-sticky matches this run's ``tag`` (per-run), s
examples/gitlab_ci/post_review.py:1339
↓ 2 callers
Function
useCommandSearch
( runSearch: (query: string, language: string) => SearchResult<S>[], language: string, )
pages/src/hooks/useCommandSearch.ts:13
↓ 2 callers
Function
useCopyToast
(duration = 1200)
pages/src/hooks/useCopyToast.ts:6
↓ 2 callers
Function
useSearchKeyboardNav
( searchResults: readonly SearchResult<S>[], searchSelectedIdx: number, setSearchSelectedIdx: Dispatch<S
pages/src/hooks/useCommandSearch.ts:71
↓ 2 callers
Function
useTransitionedLocation
()
pages/src/hooks/useTransitionedLocation.ts:17
↓ 2 callers
Function
usesAmbientAuth
(preset: OcrProviderPreset, protocolOverride?: string)
extensions/frontend/src/shared/providers.ts:30
↓ 2 callers
Function
validArgNames
validArgNames strips the "name\tdescription" form Cobra allows in ValidArgs, keeping only the value the user is expected to type. The split matches th
cmd/opencodereview/arg_errors.go:110
↓ 2 callers
Function
validateAudience
(audience string)
cmd/opencodereview/shared_flags.go:103
↓ 2 callers
Function
validateChatGPTBody
(body map[string]any)
internal/llm/chatgpt.go:77
↓ 2 callers
Function
validateColorMode
validateColorMode rejects unknown --color values instead of silently treating them as auto, so a typo like --color=yes is reported rather than ignored
cmd/opencodereview/color.go:44
↓ 2 callers
Function
validateCommandFrontmatter
(file, content)
scripts/github-actions/check-plugin-contract.js:466
↓ 2 callers
Function
validateContexts
(contexts []Context)
internal/behaviortask/observation.go:205
↓ 2 callers
Function
validateDiffMode
--- Validation functions ---
cmd/opencodereview/shared_flags.go:83
↓ 2 callers
Function
validateEndpointURL
validateEndpointURL reports URL parse failures before the SDK can turn them into request errors that no longer identify the configuration variable.
internal/llm/resolver.go:260
↓ 2 callers
Function
validateExtra
validateExtra rejects any element of extra that is not a whitelisted flag, is a whitelisted flag missing its value, or carries a value outside the fla
acp/internal/contract/intent.go:184
↓ 2 callers
Function
validateKeyCmd
validateKeyCmd returns an error when cmd contains patterns that are almost certainly not part of a legitimate credential-helper invocation. It is call
internal/llm/keycmd.go:50
↓ 2 callers
Function
validateModelLists
(providers []llm.Provider)
internal/llm/gen/main.go:130
↓ 2 callers
Function
validateOutputFormat
(format string)
cmd/opencodereview/shared_flags.go:112
↓ 2 callers
Function
validateReport
validateReport enforces the report invariants. A violation returns an error and suppresses the report rather than publishing self-contradictory number
internal/llm/retry_report.go:575
↓ 2 callers
Function
validateRequest
(binary string, request Request)
acp/internal/orchestrator/runner.go:178
↓ 2 callers
Function
validateScanOptions
(opts *scanOptions)
cmd/opencodereview/shared_flags.go:173
↓ 2 callers
Function
validateToolBindings
(conversations map[string]*LlmConversation, referenceTask string)
internal/config/template/template.go:362
↓ 2 callers
Function
validateWorkspaceFileMode
(path string, mode os.FileMode)
internal/tool/filereader.go:128
↓ 2 callers
Method
verifyAt
(ctx context.Context, token, clientID, nonce string, receivedAt time.Time)
internal/chatgptauth/jwt.go:101
↓ 2 callers
Function
verify_tree_owner
(folder, env)
plugins/open-code-review/skills/open-code-review/scripts/review_pr.py:89
↓ 2 callers
Function
verify_tree_owner
(folder, env)
skills/open-code-review/scripts/review_pr.py:89
↓ 2 callers
Function
waitForWarning
waitForWarning polls until a warning shows up, so the test neither sleeps a fixed amount nor hangs forever if the watcher goroutine never fires.
internal/viewer/browser_exec_test.go:119
↓ 2 callers
Function
walkSessionFile
(path string, apply func(summaryRecord))
internal/session/list.go:217
↓ 2 callers
Function
walkTextFiles
(repoRoot, rel = "", seen = new Set())
scripts/github-actions/check-plugin-contract.js:779
↓ 2 callers
Function
warn
(msg)
scripts/github-actions/post-review-comments.js:1775
↓ 2 callers
Function
warnAnalysisDeletion
(cmd *cobra.Command, path string)
cmd/opencodereview/session_cmd.go:664
↓ 2 callers
Function
warningsForOutput
warningsForOutput removes coverage-level subtask diagnostics once a manifest is present. Their classification and safe summary already live in the fro
cmd/opencodereview/output.go:65
↓ 2 callers
Function
withCodeAccessSides
(definitions []llm.ToolDef, workspace bool)
internal/config/toolsconfig/comparison.go:23
↓ 2 callers
Function
withNavigation
(page, link)
scripts/github-actions/post-review-comments.js:2453
↓ 2 callers
Function
withTemporaryBackgroundFile
( background: string, callback: (path: string) => Promise<T>, )
plugins/open-code-review/opencode/open-code-review.ts:215
↓ 2 callers
Function
withTemporaryDirectory
(callback)
plugins/open-code-review/opencode/test/open-code-review.test.mjs:24
↓ 2 callers
Function
with_navigation
Put navigation just below the generated heading, before any report Markdown.
examples/gitlab_ci/post_review.py:117
↓ 2 callers
Function
wrapByRunes
wrapByRunes splits text into lines that fit within maxWidth **rune** columns. Respects existing newlines and wraps at word boundaries.
cmd/opencodereview/output.go:218
↓ 2 callers
Function
wrapMarkdownCell
(cell string, width int)
cmd/opencodereview/markdown_table.go:132
↓ 2 callers
Function
wrapSingleRuneLine
wrapSingleRuneLine breaks one paragraph (no newlines) into rune-width-constrained lines.
cmd/opencodereview/output.go:230
↓ 2 callers
Function
wrap_summary_body
Prefix the summary body with both the cross-run marker and the per-run tag. Sticky mode finds the note by SUMMARY_MARKER (cross-run reuse); non-s
examples/gitlab_ci/post_review.py:83
↓ 2 callers
Function
writeAppConfigMaxTokens
(t *testing.T, home string, maxTokens int)
cmd/opencodereview/review_helpers_test.go:320
↓ 2 callers
Function
writeDelegateJSON
(value any)
cmd/opencodereview/delegate_cmd.go:329
↓ 2 callers
Function
writeFencedBlock
(b *strings.Builder, language, text string)
acp/internal/adapter/presentation/markdown.go:26
↓ 2 callers
Function
writeFinding
(b *strings.Builder, number int, c contract.Comment, location *workspace.Location)
acp/internal/adapter/presentation/report.go:183
↓ 2 callers
Function
writeSearchBoundaryFile
(test *testing.T, repository, name, content string)
internal/behaviortask/search_test.go:167
↓ 2 callers
Function
writeSummaryComment
({ github, owner, repo, prNumber, body, sections = [], suffix = "", details = "", runTag, preserveMarker,
scripts/github-actions/post-review-comments.js:1128
↓ 1 callers
Method
ApplyLanguage
ApplyLanguage injects a language directive into all system-role messages of the scan template (MAIN_TASK, PLAN_TASK if set, DEDUP_TASK if set, and MEM
internal/config/template/template.go:300
↓ 1 callers
Method
Authenticate
(context.Context, acp.AuthenticateRequest)
acp/internal/adapter/agent.go:51
↓ 1 callers
Method
Bytes
()
internal/gitcmd/runner.go:299
↓ 1 callers
Method
CanonicalConfig
CanonicalConfig returns a deterministic, order-stable field list describing this rule set's effective rule-text configuration, for hashing into the ru
internal/config/rules/system_rules.go:159
↓ 1 callers
Method
CompletionTokenLimit
CompletionTokenLimit is the scan-template counterpart of Template's method.
internal/config/template/template.go:150
↓ 1 callers
Method
Endpoint
Endpoint returns the resolved endpoint the client is using.
acp/internal/intent/llm/client.go:63
↓ 1 callers
Method
Error
()
internal/llm/retry_boundary.go:32
↓ 1 callers
Method
Error
()
internal/chatgptauth/jwt.go:47
↓ 1 callers
Method
Error
()
internal/gitcmd/runner.go:68
↓ 1 callers
Method
Error
()
acp/internal/testutil/stub.go:107
↓ 1 callers
Function
ExcludedDirs
ExcludedDirs is the list of directory prefixes that scanners and diff providers should always skip. Exposed so internal/scan and other consumers can r
internal/diff/gitignore.go:56
↓ 1 callers
Method
Execute
(ctx context.Context, args map[string]any)
internal/mcp/provider.go:27
↓ 1 callers
Method
Execute
(_ context.Context, args map[string]any)
internal/tool/code_comment.go:60
↓ 1 callers
Method
FileGroups
FileGroups returns the semantic grouping result for JSON output.
internal/agent/agent.go:503
↓ 1 callers
Function
HunkRanges
(patch string)
internal/diff/hunk.go:58
↓ 1 callers
Method
Initialize
(context.Context, acp.InitializeRequest)
acp/internal/adapter/agent.go:47
↓ 1 callers
Function
Interrupt
Interrupt requests cooperative termination of a managed command.
acp/internal/orchestrator/process/process_unix.go:27
↓ 1 callers
Method
IsCommitMode
IsCommitMode returns true when analyzing a single commit.
internal/diff/git.go:196
↓ 1 callers
Function
IsExcludedPath
IsExcludedPath returns true when the given file path matches any default exclude pattern. Patterns support ** (recursive directory matching), * (singl
internal/config/allowlist/allowed_ext.go:91
↓ 1 callers
Method
IsKnown
IsKnown reports whether the tool is not UNKNOWN.
internal/tool/definitions.go:70
↓ 1 callers
Method
IsRangeMode
IsRangeMode returns true when comparing two refs.
internal/diff/git.go:191
↓ 1 callers
Function
IsSecretPath
IsSecretPath returns true when the given file path matches any built-in secret pattern — credential files such as .env, id_rsa or .netrc that should n
internal/config/allowlist/secret_path.go:47
↓ 1 callers
Method
ListSessions
(context.Context, acp.ListSessionsRequest)
acp/internal/adapter/agent.go:85
↓ 1 callers
Function
LoadSummaryAt
LoadSummaryAt reads one session summary from an exact file path. LoadSummary derives the path from a repository, which the global id search deliberat
internal/session/list.go:376
↓ 1 callers
Function
MatchGitignorePattern
MatchGitignorePattern reports whether relPath matches a single gitignore-style pattern, using the simplified semantics that diff.Provider already impl
internal/diff/gitignore.go:98
↓ 1 callers
Function
NewAnalysisRawWriter
(directory, reportID string)
internal/session/raw_writer.go:63
↓ 1 callers
Function
NewAnalysisTrace
(reportID, directory, repoDir, model string, opts SessionOptions)
internal/session/history.go:169
↓ 1 callers
Function
NewBuiltin
(t Tool, fn func(ctx context.Context, args map[string]any) (string, error))
internal/tool/stub.go:28
↓ 1 callers
Function
NewConnection
NewConnection serves the SDK protocol without changing Agent cancellation ownership. claimDiscovery atomically claims command discovery for a live ses
acp/internal/adapter/transport/connection.go:71
↓ 1 callers
Function
Preview
Preview enumerates files and applies the standard reviewability filter without dispatching any LLM calls. Returns a *model.Preview ready for cmd/openc
internal/scan/preview.go:20
↓ 1 callers
Function
ProviderHTTPStatus
(err error)
internal/llm/client.go:976
↓ 1 callers
Method
Read
([]byte)
internal/llm/raw.go:300
↓ 1 callers
Method
Read
([]byte)
internal/chatgptauth/api_error_test.go:18
↓ 1 callers
Method
ResumeInfo
ResumeInfo returns resume metadata for output. Nil means this was not a resume run.
internal/agent/agent.go:484
↓ 1 callers
Method
ResumeSession
(context.Context, acp.ResumeSessionRequest)
acp/internal/adapter/agent.go:81
↓ 1 callers
Method
Run
(ctx context.Context)
internal/behaviortask/runner.go:230
↓ 1 callers
Method
RunManifest
RunManifest returns nil because scan is intentionally outside the v1 run manifest scope. It exists so review and scan can share the output pipeline wi
internal/scan/agent.go:200
↓ 1 callers
Method
SessionUpdate
(_ context.Context, n acp.SessionNotification)
acp/internal/adapter/output_test.go:58
↓ 1 callers
Method
SetSessionConfigOption
(context.Context, acp.SetSessionConfigOptionRequest)
acp/internal/adapter/agent.go:77
↓ 1 callers
Method
SetSessionMode
(context.Context, acp.SetSessionModeRequest)
acp/internal/adapter/agent.go:73
↓ 1 callers
Function
TestRunnerLocalCancelOverridesExit
(t *testing.T)
acp/internal/orchestrator/runner_test.go:84
↓ 1 callers
Method
Tool
()
internal/mcp/provider.go:23
↓ 1 callers
Method
Tool
()
internal/tool/code_comment.go:58
← previous
next →
2,001–2,100 of 7,599, ranked by callers