MCPcopy Create free account

hub / github.com/alibaba/open-code-review / functions

Functions3,737 in github.com/alibaba/open-code-review

↓ 1 callersFunctionisCommentAlreadyPosted
({ github, owner, repo, prNumber, id, log })
scripts/github-actions/post-review-comments.js:1322
↓ 1 callersFunctionisForbiddenChar
(r rune)
cmd/opencodereview/background_file.go:121
↓ 1 callersMethodisGitRepo
isGitRepo reports whether p.repoDir is inside a git working tree.
internal/scan/provider.go:162
↓ 1 callersFunctionisLocalRemote
isLocalRemote reports whether a remote URL points at the local filesystem rather than a network host: a file:// URL, a POSIX absolute/relative/home pa
internal/diff/git.go:470
↓ 1 callersFunctionisNotGitRepoError
(err error, stderr string)
internal/tool/code_search.go:231
↓ 1 callersFunctionis_line_resolution_failure
Classify a 400 error body as a position/line-resolution failure.
examples/gitlab_ci/post_review.py:479
↓ 1 callersFunctionitemFailureForRunClass
itemFailureForRunClass maps a run-level stop cause onto the item-level classification used when Finalize sweeps the still-undecided selected items. A
internal/session/manifest.go:119
↓ 1 callersFunctionjoinHostPath
joinHostPath assembles the canonical "host[/path]" form, trimming a leading "/" and a trailing ".git"/"/" from the path while preserving its case.
internal/diff/git.go:456
↓ 1 callersFunctionkillProcessGroup
(signal: NodeJS.Signals)
plugins/open-code-review/opencode/open-code-review.ts:155
↓ 1 callersFunctionlanguageKey
languageKey returns the lowercased file extension (with the leading dot) or "<no-ext>" for extensionless files.
internal/scan/batch.go:99
↓ 1 callersFunctionleftKey
()
cmd/opencodereview/provider_tui_test.go:26
↓ 1 callersFunctionlevel2Headings
(markdown)
scripts/github-actions/check-translation-sync.js:90
↓ 1 callersFunctionlistExistingReviewComments
(github, owner, repo, prNumber, log)
scripts/github-actions/post-review-comments.js:939
↓ 1 callersMethodlistFilesViaGit
(ctx context.Context)
internal/scan/provider.go:167
↓ 1 callersMethodlistFilesViaWalk
listFilesViaWalk recursively walks p.repoDir collecting regular files. Honors: - the internal ExcludedDirs blocklist (.git, node_modules, vendor, ...)
internal/scan/provider.go:199
↓ 1 callersMethodlistGitFiles
listGitFiles returns tracked and untracked files (respecting .gitignore) via git ls-files. In range/commit mode it uses git ls-tree to list files at t
internal/tool/file_find.go:73
↓ 1 callersMethodlistWalkFiles
listWalkFiles is the non-git fallback for listGitFiles: it walks the repo directory honoring the root .gitignore and the default excluded-dir blocklis
internal/tool/file_find.go:129
↓ 1 callersFunctionloadFromEmbed
(filename string)
internal/llm/embedded_loader.go:46
↓ 1 callersFunctionloadMermaid
()
pages/src/components/MarkdownRenderer.tsx:17
↓ 1 callersFunctionloadPlugin
(worktree)
plugins/open-code-review/opencode/test/open-code-review.test.mjs:11
↓ 1 callersFunctionloadProjectRule
loadProjectRule reads <repoDir>/.opencodereview/rule.json. Since #287 anchored RepoDir at the git top-level, `ocr review` from a monorepo subdirectory
internal/config/rules/system_rules.go:368
↓ 1 callersFunctionload_diffs_by_path
Build {new_path: FileDiff} for the merge-base diff `ocr review` ran on.
examples/gitflic_ci/post_review.py:383
↓ 1 callersFunctionload_incremental_history
Return a list of ``{path, span}`` for prior bot discussions. None when the read API failed (caller then disables incremental filtering rather
examples/gitlab_ci/post_review.py:1318
↓ 1 callersFunctionload_review_result
Read the JSON produced by `ocr review --format json` (path '-' = stdin).
examples/gerrit_ci/post_review.py:280
↓ 1 callersFunctionload_review_result
Read the JSON produced by ``ocr review --format json``.
examples/gitlab_ci/post_review.py:1446
↓ 1 callersFunctionload_review_result
Read the JSON produced by `ocr review --format json` (path '-' = stdin).
examples/gitflic_ci/post_review.py:394
↓ 1 callersMethodlookupDiff
lookupDiff returns the synthetic Diff for a path, used by llmloop.Runner to resolve code_comment line numbers against the scanned file content.
internal/scan/agent.go:381
↓ 1 callersFunctionlookupTool
lookupTool returns the provider for a given tool from the registry, or nil when not registered.
internal/llmloop/loop.go:572
↓ 1 callersFunctionmain
()
scripts/install.js:156
↓ 1 callersFunctionmain
()
scripts/update.js:143
↓ 1 callersFunctionmain
(argv = process.argv.slice(2), env = process.env)
scripts/github-actions/check-translation-sync.js:340
↓ 1 callersFunctionmain
()
scripts/github-actions/post-review-comments.test.js:2118
↓ 1 callersFunctionmain
()
scripts/github-actions/check-translation-sync.test.js:275
↓ 1 callersFunctionmain
(argv=None)
examples/gerrit_ci/post_review.py:348
↓ 1 callersFunctionmain
(argv=None)
examples/gitlab_ci/post_review.py:1467
↓ 1 callersFunctionmain
(argv=None)
examples/codeup_ci/post_review.py:260
↓ 1 callersFunctionmain
(argv=None)
examples/gitflic_ci/post_review.py:436
↓ 1 callersFunctionmake_dry_run_poster
Return post(review_input) that prints instead of calling Gerrit.
examples/gerrit_ci/post_review.py:265
↓ 1 callersFunctionmake_dry_run_poster
Return a :class:`DryRunPoster`.
examples/gitlab_ci/post_review.py:1055
↓ 1 callersFunctionmake_dry_run_poster
Return a post(discussion) that prints instead of calling the API.
examples/gitflic_ci/post_review.py:354
↓ 1 callersFunctionmake_poster
Return post(review_input) that POSTs to the Gerrit set-review endpoint. Auth is preemptive basic auth; the parsed (XSSI-stripped) response JSON i
examples/gerrit_ci/post_review.py:214
↓ 1 callersFunctionmake_poster
Return a :class:`GitLabPoster` bound to the given MR endpoint.
examples/gitlab_ci/post_review.py:1011
↓ 1 callersFunctionmake_poster
Return a post(discussion) that POSTs to the GitFlic Discussions API.
examples/gitflic_ci/post_review.py:326
↓ 1 callersMethodmapAnthropicResponse
mapAnthropicResponse converts the SDK response into ChatResponse.
internal/llm/client.go:868
↓ 1 callersFunctionmapResponsesFinishReason
mapResponsesFinishReason applies the coarse-grained mapping from decision 8: - completed -> stop - incomplete -> length - failed/cancelled -> error -
internal/llm/responses_client.go:291
↓ 1 callersFunctionmapsEqual
(a, b map[string]string)
internal/llm/resolver_test.go:1447
↓ 1 callersMethodmarkChunkReloadAttempt
()
pages/src/components/ErrorBoundary.tsx:42
↓ 1 callersMethodmarkCompleted
markCompleted/markReused/markFailed are nil-safe manifest transitions. A non-nil error here is an internal invariant violation (a mis-keyed or duplica
internal/agent/agent.go:956
↓ 1 callersMethodmarkFailed
(d model.Diff, class session.FailureClass, reason string)
internal/agent/agent.go:976
↓ 1 callersMethodmarkReused
(d model.Diff)
internal/agent/agent.go:966
↓ 1 callersFunctionmatchGitignorePattern
matchGitignorePattern checks if relPath matches a single .gitignore pattern. Polarity is not this function's concern: a negated pattern reports false
internal/diff/git.go:296
↓ 1 callersMethodmatchProjectRuleDetail
(pr *ProjectRule, path string, source string)
internal/config/rules/system_rules.go:464
↓ 1 callersFunctionmergeModelLists
(...lists: string[][])
extensions/vscode/src/shared/providers.ts:153
↓ 1 callersFunctionml
(a, b)
scripts/github-actions/post-review-comments.test.js:1307
↓ 1 callersFunctionmockCore
()
scripts/github-actions/post-review-comments.test.js:351
↓ 1 callersFunctionmockReload
()
pages/src/components/ErrorBoundary.test.tsx:12
↓ 1 callersMethodmr_url
Best-effort MR web URL (cached). None when unavailable.
examples/gitlab_ci/post_review.py:850
↓ 1 callersFunctionnewModelTokenizerCache
()
internal/llm/client.go:275
↓ 1 callersFunctionnew_comment_id
Random per-comment id embedded as an HTML comment for idempotency.
examples/gitlab_ci/post_review.py:1350
↓ 1 callersFunctionnormalizeCodeCommentCategory
(category string)
internal/tool/code_comment.go:128
↓ 1 callersFunctionnormalizeCodeCommentSeverity
(severity string)
internal/tool/code_comment.go:136
↓ 1 callersFunctionnormalizePath
normalizePath canonicalizes a path for identity derivation: it unifies separators to forward slashes and cleans redundant "." / ".." / duplicate separ
internal/session/manifest.go:216
↓ 1 callersMethodnotifyConfig
(config: OcrConfig | null)
extensions/vscode/src/extension/providers/ConfigPanelProvider.ts:65
↓ 1 callersFunctionnum
(v)
scripts/github-actions/post-review-comments.js:1047
↓ 1 callersFunctionofficialAPIKeyEnvSetHintLine
(envVar string, hasSavedKey bool)
cmd/opencodereview/provider_tui.go:2402
↓ 1 callersFunctionold_line_for
Map a new-side line number to the corresponding old-side line. Lines added by the diff have no old counterpart, so they are anchored to the c
examples/gitflic_ci/post_review.py:174
↓ 1 callersFunctiononModeChange
(mode: ReviewMode)
extensions/vscode/src/webview/App.tsx:32
↓ 1 callersMethodonSync
(fn: (s: CommentSyncState[]) => void)
extensions/vscode/src/extension/providers/CommentProvider.ts:39
↓ 1 callersMethodopen
()
internal/session/persist.go:103
↓ 1 callersMethodopen
(focus?: ConfigPanelFocus)
extensions/vscode/src/extension/providers/ConfigPanelProvider.ts:26
↓ 1 callersMethodopenDiff
在 VSCode 原生 diff 视图中打开某个待审查文件。三种模式各自决定 diff 的左右两侧。
extensions/vscode/src/extension/services/GitService.ts:263
↓ 1 callersMethodopenDiffEditor
(mount: MountableCommentAnchor)
extensions/vscode/src/extension/providers/CommentProvider.ts:241
↓ 1 callersFunctionoptionalPositiveInt
(description: string)
plugins/open-code-review/opencode/open-code-review.ts:274
↓ 1 callersFunctionoptionalString
(description: string)
plugins/open-code-review/opencode/open-code-review.ts:271
↓ 1 callersFunctionorderedToolParameters
(raw json.RawMessage)
internal/agent/agent.go:1568
↓ 1 callersFunctionout
(name, value)
scripts/github-actions/post-review-comments.js:92
↓ 1 callersFunctionoutputPreviewJSON
(p *agent.DiffPreview)
cmd/opencodereview/output.go:491
↓ 1 callersFunctionoverlaps_history
True when ``cur_span`` overlaps any prior bot discussion on the same path.
examples/gitlab_ci/post_review.py:462
↓ 1 callersFunctionparseDiffHunkRanges
(patch)
scripts/github-actions/post-review-comments.js:1906
↓ 1 callersFunctionparseFilterSet
(s string)
cmd/opencodereview/session_cmd.go:227
↓ 1 callersFunctionparseFrontmatter
(slug: BlogSlug, raw: string)
pages/src/content/blog/index.ts:62
↓ 1 callersFunctionparseMCPHeaders
parseMCPHeaders parses a JSON object of header key-value pairs. Example: {"Authorization": "Bearer $TOKEN", "X-Custom": "value"}
cmd/opencodereview/config_cmd.go:803
↓ 1 callersFunctionparseModelList
(value: string)
extensions/vscode/src/extension/services/configDraft.ts:18
↓ 1 callersFunctionparsePorcelain
(output: string)
extensions/vscode/src/extension/services/gitMap.ts:23
↓ 1 callersFunctionparseProviderEntry
(raw: Record<string, unknown> | undefined)
extensions/vscode/src/extension/services/configParse.ts:6
↓ 1 callersFunctionparseProviderMap
(raw: Record<string, unknown> | undefined)
extensions/vscode/src/extension/services/configParse.ts:21
↓ 1 callersFunctionparseStatValue
(value: string)
pages/src/components/HighlightsSection.tsx:20
↓ 1 callersFunctionparseToolArgs
parseToolArgs unmarshals a tool call's raw JSON arguments, always returning a non-nil map on success: some OpenAI-compatible gateways send "arguments"
internal/llmloop/loop.go:559
↓ 1 callersFunctionparse_args
(argv)
examples/gerrit_ci/post_review.py:323
↓ 1 callersFunctionparse_args
(argv)
examples/gitlab_ci/post_review.py:1452
↓ 1 callersFunctionparse_args
(argv=None)
examples/codeup_ci/post_review.py:230
↓ 1 callersFunctionparse_args
(argv)
examples/gitflic_ci/post_review.py:409
↓ 1 callersFunctionparse_diff
Split combined unified diff text into per-file FileDiff sections.
examples/gitflic_ci/post_review.py:120
↓ 1 callersFunctionparse_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:487
↓ 1 callersFunctionparse_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:84
↓ 1 callersMethodpathExistsAtRef
(root: string, ref: string, relPath: string)
extensions/vscode/src/extension/services/GitService.ts:386
↓ 1 callersFunctionpick
(v: string)
extensions/vscode/src/webview/components/Select.tsx:36
↓ 1 callersFunctionposition_span
Resolve a GitLab discussion position into a line span (or None).
examples/gitlab_ci/post_review.py:426
↓ 1 callersFunctionpost
(discussion)
examples/gitflic_ci/post_review.py:335
↓ 1 callersFunctionpostSummary
({ github, owner, repo, prNumber, body, sticky, log })
scripts/github-actions/post-review-comments.js:802
← previousnext →1,201–1,300 of 3,737, ranked by callers