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
↓ 1 callers
Function
overlappedPipe
overlappedPipe is the Windows counterpart to a pollable os.Pipe. Anonymous pipes created by syscall.Pipe do not support deadlines; named pipes opened
acp/cmd/ocr-acp/stdio_windows.go:99
↓ 1 callers
Function
overlaps_history
True when ``cur_span`` overlaps any prior bot discussion on the same path.
examples/gitlab_ci/post_review.py:621
↓ 1 callers
Method
page
(position section, cursor, maxBytes int)
internal/behaviortask/observation.go:107
↓ 1 callers
Function
pageCut
(text, room)
scripts/github-actions/post-review-comments.js:2466
↓ 1 callers
Function
pageList
(total, current)
internal/viewer/static/pager.js:17
↓ 1 callers
Function
page_cut
Keep an escaped coverage character together when its diagnostic spans notes.
examples/gitlab_ci/post_review.py:129
↓ 1 callers
Function
panel
()
pages/src/components/HeroSection.test.tsx:23
↓ 1 callers
Function
parseDiffHunkRanges
(patch)
scripts/github-actions/post-review-comments.js:2956
↓ 1 callers
Function
parseEnvOverrides
()
internal/llm/resolver.go:169
↓ 1 callers
Function
parseFilterSet
(s string)
cmd/opencodereview/session_cmd.go:529
↓ 1 callers
Function
parseFrontmatter
(slug: BlogSlug, raw: string)
pages/src/content/blog/index.ts:62
↓ 1 callers
Function
parseInputs
(text)
scripts/github-actions/action-contract.test.js:45
↓ 1 callers
Function
parseMCPHeaders
parseMCPHeaders parses a JSON object of header key-value pairs. Example: {"Authorization": "Bearer $TOKEN", "X-Custom": "value"}
cmd/opencodereview/config_cmd.go:1203
↓ 1 callers
Function
parseMode
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/messages/WebviewMessages.kt:101
↓ 1 callers
Function
parseModelList
(value: string)
extensions/vscode/src/extension/services/configDraft.ts:18
↓ 1 callers
Function
parseNLCases
(t *testing.T, content string)
acp/internal/intent/nl_catalog_test.go:24
↓ 1 callers
Method
parseNatural
parseNatural turns free text into an intent through one LLM tool call. There is no deterministic fallback: a failed call becomes a clarification or a
acp/internal/intent/natural.go:21
↓ 1 callers
Function
parsePaths
(paths: unknown)
plugins/open-code-review/opencode/open-code-review.ts:182
↓ 1 callers
Function
parsePorcelain
(output: string)
extensions/vscode/src/extension/services/gitMap.ts:23
↓ 1 callers
Function
parseProviderEntry
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigParse.kt:29
↓ 1 callers
Function
parseProviderEntry
(raw: Record<string, unknown> | undefined)
extensions/vscode/src/extension/services/configParse.ts:6
↓ 1 callers
Function
parseProviderMap
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/ConfigParse.kt:46
↓ 1 callers
Function
parseProviderMap
(raw: Record<string, unknown> | undefined)
extensions/vscode/src/extension/services/configParse.ts:21
↓ 1 callers
Function
parseQuotedDiffHeader
parseQuotedDiffHeader extracts the old and new paths from a "diff --git" line in which at least one side is quoted, with the "a/" and "b/" prefixes re
internal/diff/quotedpath.go:140
↓ 1 callers
Method
parseSlash
parseSlash parses a deterministic slash command. It never calls the LLM, so review and /scan keep working while the parsing LLM is down.
acp/internal/intent/slash.go:13
↓ 1 callers
Function
parseStatValue
(value: string)
pages/src/components/HighlightsSection.tsx:20
↓ 1 callers
Function
parseStatus
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/messages/WebviewMessages.kt:107
↓ 1 callers
Function
parse_args
(argv)
examples/gerrit_ci/post_review.py:327
↓ 1 callers
Function
parse_args
(argv)
examples/gitlab_ci/post_review.py:1740
↓ 1 callers
Function
parse_args
(argv=None)
examples/codeup_ci/post_review.py:234
↓ 1 callers
Function
parse_args
(argv)
examples/gitflic_ci/post_review.py:413
↓ 1 callers
Function
parse_diff
Split combined unified diff text into per-file FileDiff sections.
examples/gitflic_ci/post_review.py:124
↓ 1 callers
Function
parse_diff_hunk_inventory
Parse a unified-diff patch into per-hunk new-file line ranges. Returns ``(ranges, complete)``. ``complete`` is False when the patch looks tru
examples/gitlab_ci/post_review.py:646
↓ 1 callers
Function
parse_hunks
Parse one file's unified diff text into a list of Hunks. Lines before the first @@ header (diff --git, ---, +++) are ignored.
examples/gitflic_ci/post_review.py:88
↓ 1 callers
Function
partialReview
()
acp/testdata/mock-ocr/main.go:188
↓ 1 callers
Function
partitionDiffs
partitionDiffs keeps provider exclusions available for reporting. Both kinds of exclusion go to Excluded. A path that went to neither slice would be
internal/diff/git.go:351
↓ 1 callers
Method
pathExistsAtRef
(root: string, ref: string, relPath: string)
extensions/vscode/src/extension/services/GitService.ts:393
↓ 1 callers
Method
peekFirstLine
peekFirstLine returns the first non-blank line of path, read at s.ref when set (so refs that are not checked out still resolve correctly) and from the
internal/config/rules/sniffer.go:98
↓ 1 callers
Function
peekRecords
(reader io.Reader, summary *SessionSummary)
internal/viewer/store.go:166
↓ 1 callers
Function
pick
(v: string)
extensions/frontend/src/webview/components/Select.tsx:36
↓ 1 callers
Function
placeholders
(text: string)
pages/src/i18n/tr.test.ts:16
↓ 1 callers
Function
plural
(n int, word string)
cmd/opencodereview/output.go:650
↓ 1 callers
Function
position_span
Resolve a GitLab discussion position into a line span (or None).
examples/gitlab_ci/post_review.py:585
↓ 1 callers
Function
post
(discussion)
examples/gitflic_ci/post_review.py:339
↓ 1 callers
Function
postSummary
(options)
scripts/github-actions/post-review-comments.js:1168
↓ 1 callers
Method
post_discussion
POST a discussion with idempotent reconciliation on ambiguous failures.
examples/gitlab_ci/post_review.py:1165
↓ 1 callers
Function
post_global_comment
POST a GLOBAL_COMMENT to a CodeUp change request. Returns (status, body).
examples/codeup_ci/post_review.py:172
↓ 1 callers
Function
postedBody
(github)
scripts/github-actions/post-review-comments.test.js:653
↓ 1 callers
Function
pre
(heading)
scripts/github-actions/post-review-comments.test.js:913
↓ 1 callers
Function
pre_review_header
(total, routed, warnings, heading)
examples/gitlab_ci/post_review.py:535
↓ 1 callers
Method
prepare
(ctx context.Context, request analysisRequest)
cmd/opencodereview/analysis.go:95
↓ 1 callers
Function
prepareAdapterCmd
(cmd *exec.Cmd)
acp/cmd/ocr-acp/adapter_signal_unix_test.go:13
↓ 1 callers
Function
prepareInterruptible
(cmd *exec.Cmd)
acp/internal/contract/interrupt_unix_test.go:13
↓ 1 callers
Method
prepareReviewFileStatus
* Records the files involved in this review and their statuses at review start, for [getReviewFileStatus] to query. * Comment mounting relies on
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:276
↓ 1 callers
Method
prepareReviewFileStatus
Cache file statuses before a commit or branch review for use when attaching comments.
extensions/vscode/src/extension/services/GitService.ts:412
↓ 1 callers
Function
prepare_review_policy
(tree, base, head, env)
plugins/open-code-review/skills/open-code-review/scripts/review_pr.py:127
↓ 1 callers
Function
prepare_review_policy
(tree, base, head, env)
skills/open-code-review/scripts/review_pr.py:127
↓ 1 callers
Method
presentPatchDiff
As a last resort, show patch text only when the native diff fails.
extensions/vscode/src/extension/services/GitService.ts:374
↓ 1 callers
Method
presentRefDiff
In branch or commit mode, build both sides from Git refs or empty files for the native VS Code diff editor.
extensions/vscode/src/extension/services/GitService.ts:322
↓ 1 callers
Method
preview
preview runs the agent's file-selection logic and returns the preview result. No Template is passed, which leaves the per-file diff-size ceiling disa
cmd/opencodereview/delegate_cmd.go:133
↓ 1 callers
Function
previewFiles
(preview *agent.DiffPreview, reviewable bool)
cmd/opencodereview/delegate_cmd.go:296
↓ 1 callers
Function
previewPathFmt
previewPathFmt pads paths to the widest one among the rows a section prints, so a long path in one section cannot push another section's columns out.
cmd/opencodereview/output.go:855
↓ 1 callers
Function
printSessionCompare
printSessionCompare writes to stdout, matching the other `ocr session` subcommands.
cmd/opencodereview/session_cmd.go:480
↓ 1 callers
Function
printSessionTable
(w io.Writer, summaries []session.Summary)
cmd/opencodereview/session_cmd.go:695
↓ 1 callers
Function
probePath
probePath walks through each candidate path in order, returning the first int64 value found along with true. Returns (0, false) if none match.
internal/llm/usage_resolver.go:119
↓ 1 callers
Function
processHandleCount
()
acp/internal/orchestrator/process_alive_windows_test.go:45
↓ 1 callers
Function
providerAcceptsAWSSettings
providerAcceptsAWSSettings reports whether aws_region / aws_profile mean anything for this provider. Storing them anywhere else would be dead config t
cmd/opencodereview/config_cmd.go:932
↓ 1 callers
Method
providerNameForModelStep
()
cmd/opencodereview/provider_tui.go:573
↓ 1 callers
Function
publicDiagnosticField
Exempt only ordinary tracing, content-negotiation and version metadata. Unknown fields stay conservative, including custom authentication headers. Cre
acp/internal/intent/llm/diagnostics.go:181
↓ 1 callers
Function
publish
Post the review result via the injectable ``poster`` object. Returns a stats dict with mutually-exclusive counts:: {total, inline, summa
examples/gitlab_ci/post_review.py:1436
↓ 1 callers
Function
publish
Post the review result via the `post(discussion)` callable. `post` receives a discussion dict and must raise on failure. A general comment ca
examples/gitflic_ci/post_review.py:252
↓ 1 callers
Function
publishBatch
({ chunk, github, owner, repo, prNumber, commitSha, reviewBody, REVIEW_TAG, log, diffCache
scripts/github-actions/post-review-comments.js:678
↓ 1 callers
Function
publish_summary_pages
(poster, pages, details, sticky, anchor_id, tag)
examples/gitlab_ci/post_review.py:1399
↓ 1 callers
Method
pushConfig
(config: ReturnType<ConfigService['read']>)
extensions/vscode/src/extension/providers/SidebarProvider.ts:35
↓ 1 callers
Function
randomValue
()
internal/chatgptauth/oauth.go:125
↓ 1 callers
Function
readComparison
(github, variables, snapshot)
scripts/github-actions/check-pr-commit-policy.js:45
↓ 1 callers
Method
readConfig
()
extensions/vscode/src/extension/providers/SidebarProvider.ts:60
↓ 1 callers
Method
readContext
(args map[string]any)
internal/behaviortask/context.go:8
↓ 1 callers
Method
readFileAtRef
Reads a file's content at a given ref; returns null when the path does not exist at that ref. */
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:213
↓ 1 callers
Method
readFileAtRef
(ref: string, relPath: string)
extensions/vscode/src/extension/services/GitService.ts:427
↓ 1 callers
Method
readFromDisk
(path string)
internal/tool/filereader.go:85
↓ 1 callers
Method
readFromGitShow
(parentCtx context.Context, path string)
internal/tool/filereader.go:136
↓ 1 callers
Function
readJsonOrNull
(repoRoot, file)
scripts/github-actions/check-plugin-contract.js:762
↓ 1 callers
Method
readLinesFromDisk
(path string, startLine, maxLines int)
internal/tool/filereader.go:213
↓ 1 callers
Method
readLinesFromGitShow
(ctx context.Context, path string, startLine, maxLines int)
internal/tool/filereader.go:227
↓ 1 callers
Method
readLoginCallback
(local string, denied bool)
internal/chatgptauth/login_recovery_test.go:126
↓ 1 callers
Function
readObservation
(directory *os.Root, id string)
internal/viewer/analysis.go:170
↓ 1 callers
Function
readStdout
(r io.Reader, limit int)
acp/internal/orchestrator/streams.go:52
↓ 1 callers
Method
readWorkspaceFile
Reads the file's current workspace content; returns null when the file does not exist. Paths are resolved against repoRoot: the comment paths the CLI
extensions/idea/src/main/kotlin/com/alibaba/opencodereview/idea/services/GitService.kt:220
↓ 1 callers
Method
readWorkspaceFile
(relPath: string)
extensions/vscode/src/extension/services/GitService.ts:437
↓ 1 callers
Function
read_error_body
(e)
examples/gerrit_ci/post_review.py:313
↓ 1 callers
Function
reasonFor
(login)
scripts/github-actions/post-review-comments.test.js:6029
↓ 1 callers
Method
recordBatchCheckpoints
recordBatchCheckpoints persists safe per-file comments after batch dedup. New same-file groups use the canonical result. Reused items keep their sourc
internal/scan/agent.go:619
↓ 1 callers
Method
recordContextFailure
(err error)
internal/agent/agent.go:876
↓ 1 callers
Method
recordGraceRoundLimit
recordGraceRoundLimit records which declared budget reached its grace round, and the round's verdict on the task. The verdict is part of the message b
internal/reviewtask/task.go:149
↓ 1 callers
Method
recordSessionModelPick
(model string)
cmd/opencodereview/provider_tui.go:585
↓ 1 callers
Method
recordToolFailureStreak
recordToolFailureStreak increments and returns the consecutive-failure count for one (taskKey, toolName) pair.
internal/reviewtask/tool_failure_streak.go:41
↓ 1 callers
Function
referencedRuleFiles
referencedRuleFiles reads the embedded system_rules.json and returns the set of rule_docs filenames it references (default_rule + every path_rule_map
internal/config/rules/system_rules_test.go:2077
↓ 1 callers
Method
refreshBranches
(repo: any)
extensions/vscode/src/extension/services/GitService.ts:184
↓ 1 callers
Function
refreshComments
()
internal/viewer/static/session.js:128
← previous
next →
2,601–2,700 of 7,599, ranked by callers