MCPcopy Create free account

hub / github.com/agavra/tuicr / functions

Functions2,753 in github.com/agavra/tuicr

↓ 2 callersMethodcomment_vim_insert_soft_tab
Insert a soft tab (`comment_tab_width` spaces) into the vim overlay, used for Tab while typing in Insert mode.
src/app/comment_vim.rs:137
↓ 2 callersMethodcomment_vim_reset_pending
Reset the pending double-press state; called when any other key interrupts the sequence.
src/app/comment_vim.rs:75
↓ 2 callersMethodcommit_list_idx_at_screen_row
(&self, screen_row: u16)
src/app/commits.rs:74
↓ 2 callersMethodcommit_pr_filter
(&mut self)
src/app/pr.rs:1163
↓ 2 callersFunctionconfig_dir
()
src/config/mod.rs:128
↓ 2 callersFunctioncontainer_file_paths
Collect the unique paths of files that need full-file syntax highlighting (Vue, Svelte, PHP and friends) on the given side, skipping binary, too-large
src/vcs/mod.rs:50
↓ 2 callersMethodcontext_provider
(&self)
src/app/gaps.rs:344
↓ 2 callersFunctioncopy_text_to_clipboard
Copy arbitrary text to the system clipboard. Returns `Ok(true)` if the terminal-based fallback (tmux/OSC 52) was used, `Ok(false)` if the platform cli
src/output/markdown.rs:80
↓ 2 callersMethodcursor_on_locked_comment
True when the cursor sits on a local comment whose lifecycle state has been pushed/submitted to the forge. Such comments are locked from edit/delete i
src/app/comments.rs:251
↓ 2 callersMethodcursor_on_remote_thread
Find the comment at the current cursor position True when the cursor is on a row that belongs to a fetched-from-GitHub review thread. Remote threads a
src/app/comments.rs:298
↓ 2 callersMethodcycle_comment_type_reverse
(&mut self)
src/app/comments.rs:793
↓ 2 callersMethodcycle_commit_prev
Cycle inline commit selector to the previous individual commit (`(` key). all → first, i → i-1, first → all
src/app/commits.rs:529
↓ 2 callersMethoddeactivate
(&mut self)
src/terminal_state.rs:129
↓ 2 callersFunctiondeactivate_writer
(writer: &mut W, mouse_enabled: bool)
src/terminal_state.rs:221
↓ 2 callersFunctiondefault_author
()
src/model/comment.rs:150
↓ 2 callersFunctiondeliver_matching_pr_threads_event
( app: &mut App, threads: std::result::Result<Vec<crate::forge::remote_comments::RemoteReviewThread>,
src/app/tests/submit_flow_tests.rs:144
↓ 2 callersFunctiondetect_vcs
Detect the VCS type and return the appropriate backend. Detection order: Jujutsu → Git → Mercurial. Jujutsu is tried first because jj repos are Git-b
src/vcs/mod.rs:328
↓ 2 callersFunctiondiff_stat_title
Build a right-aligned title showing diff stats for the current scope. In overview: total stats across all files. In a file: that file's stats.
src/ui/diff_view.rs:109
↓ 2 callersFunctiondiff_title
Build the diff view's left title: ` <path> ` when a file is in view, or ` Overview ` in overview mode. Long paths are prefix-truncated so the most-inf
src/ui/diff_view.rs:52
↓ 2 callersFunctiondiff_visible_range
Compute the half-open `line_idx` range whose diff-line spans must be fully built this frame. Outside this range the hot loops push `Line::default()` p
src/ui/diff_view.rs:33
↓ 2 callersMethoddiscard_session_and_quit
Discard this session's persisted state and quit. Used when the only unsaved change is reviewed-file markers (no comments): rather than forcing `:q!`,
src/app/session.rs:94
↓ 2 callersFunctiondraw
(app: &mut App)
src/ui/diff_side_by_side.rs:1996
↓ 2 callersFunctiondraw_picker
(app: &App)
src/ui/submit_modals.rs:447
↓ 2 callersFunctiondraw_resolver
(app: &App)
src/ui/submit_modals.rs:429
↓ 2 callersMethodeffective_file_height
Render-aware file height that knows about `is_single_file_view`. Multi-file view: same as `file_render_height`. Single-file view: non-current files re
src/app/navigation.rs:1172
↓ 2 callersFunctionenabled
()
src/profile.rs:47
↓ 2 callersMethodensure_comment_vim_editor
Lazily build the vim overlay from the buffer on first key in comment mode (no-op unless `comment_vim` is on). Seeding from the buffer covers both fres
src/app/comment_vim.rs:7
↓ 2 callersMethodensure_ephemeral_session_file
(&mut self)
src/app/session.rs:45
↓ 2 callersMethodensure_file_line_count_cached
Ensure the file line count cache is populated for a given file.
src/app/annotations.rs:5
↓ 2 callersMethodenter_command_mode
(&mut self)
src/app/modes.rs:49
↓ 2 callersMethodeof_gap_enabled
(&self)
src/app/gaps.rs:376
↓ 2 callersFunctioneverforest_theme
(flavor: EverforestFlavor)
src/theme/mod.rs:1416
↓ 2 callersMethodexit_command_mode
(&mut self)
src/app/modes.rs:55
↓ 2 callersFunctionexpect
( child: pexpect.spawn, pattern: str, capture: "OutputCapture | None" = None, timeout: int = 2
scripts/demo/drive_demo.py:149
↓ 2 callersMethodfetch_context_lines
( &self, file_path: &Path, _file_status: FileStatus, _ref_commit: Option<&str>
src/vcs/file.rs:303
↓ 2 callersMethodfetch_file_via_api
(&self, request: &ForgeFileLinesRequest)
src/forge/github/gh.rs:558
↓ 2 callersMethodfetch_file_via_api
(&self, request: &ForgeFileLinesRequest)
src/forge/gitlab/glab.rs:795
↓ 2 callersMethodfile_render_body_height
File body height in lines (comments + content + trailing spacing), excluding the file header and ignoring the reviewed-collapse short-circuit. Used by
src/app/navigation.rs:840
↓ 2 callersFunctionfind_line_with_counterpart
Find `line` on `side` and return `(line, counterpart)` where `counterpart` is the line number on the opposite side for context lines (`None` for purel
src/forge/submit.rs:289
↓ 2 callersMethodfinish_pr_range_reload
( &mut self, request: &PrRangeReloadRequest, patch: &str, )
src/app/pr.rs:399
↓ 2 callersMethodfollow_file_list_in_single_file_view
In single-file view the diff panel always shows one file at a time, so navigating the file list with j/k should reveal the highlighted file immediatel
src/app/tree.rs:23
↓ 2 callersMethodforge_display_name
Human-readable name of the forge backing the current PR/MR review. Used to keep submit messaging accurate across GitHub and GitLab.
src/app/submit.rs:424
↓ 2 callersFunctionformat_remote_review_summary_lines
Format a remote review summary (the body of a `PullRequestReview`) as a box with a `[github @author <state>]` header. Renders at review scope — no lin
src/ui/comment_panel.rs:378
↓ 2 callersFunctionget_branch_tip_names
(repo: &Repository)
src/vcs/git/repository.rs:39
↓ 2 callersFunctionget_branch_tip_names
(workdir: &Path)
src/vcs/git/cli.rs:967
↓ 2 callersFunctionget_commit_range_diff
Get the diff for a range of commits. `commit_ids` should be ordered from oldest to newest. The diff compares the oldest commit's parent to the newest
src/vcs/git/diff.rs:131
↓ 2 callersMethodget_commit_range_diff
( &self, revision_range: &ResolvedRevisionRange<'_>, highlighter: &SyntaxHighlighter,
src/vcs/jj/mod.rs:310
↓ 2 callersMethodget_commit_range_diff
( &self, revision_range: &ResolvedRevisionRange<'_>, highlighter: &SyntaxHighlighter,
src/vcs/git/cli.rs:313
↓ 2 callersFunctionget_commits_info
Get commit info for specific commit IDs. Returns CommitInfo in the same order as the input IDs.
src/vcs/git/repository.rs:121
↓ 2 callersMethodget_local
Find the local entry for `slug` that matches `canonical_repo_path`.
src/persistence/manifest.rs:79
↓ 2 callersMethodget_pull_request_diff
(&self, pr: &PullRequestDetails)
src/forge/github/gh.rs:258
↓ 2 callersMethodget_recent_commits
(&self, offset: usize, limit: usize)
src/vcs/git/cli.rs:287
↓ 2 callersFunctionget_staged_diff
Get the staged diff (index vs HEAD) On repos with no commits (unborn HEAD), diffs against an empty tree.
src/vcs/git/diff.rs:43
↓ 2 callersFunctionget_unstaged_diff
( repo: &Repository, whitespace_mode: DiffWhitespaceMode, highlighter: &SyntaxHighlighter, )
src/vcs/git/diff.rs:106
↓ 2 callersMethodget_working_tree_diff
(&self, highlighter: &SyntaxHighlighter)
src/vcs/git/cli.rs:192
↓ 2 callersMethodget_working_tree_with_commits_diff
( &self, commit_ids: &[String], highlighter: &SyntaxHighlighter, )
src/vcs/jj/mod.rs:399
↓ 2 callersFunctiongit_add_commit
(dir: &Path)
src/vcs/pristine.rs:125
↓ 2 callersFunctiongitlab_repo
()
src/forge/gitlab/models.rs:339
↓ 2 callersFunctionglab_debug_log
Append `msg` to `/tmp/tuicr-glab-debug.log` when `TUICR_GLAB_DEBUG` is set. Uses a file so the TUI doesn't swallow the output.
src/forge/gitlab/glab.rs:1239
↓ 2 callersFunctiongroup_threads_by_path
Group threads by file path for export grouping. Preserves the input order within each file.
src/forge/remote_comments.rs:232
↓ 2 callersFunctiongruvbox_theme
(flavor: GruvboxFlavor)
src/theme/mod.rs:1341
↓ 2 callersFunctionhandle_comment_action
Handle actions in Comment mode (text input for comments)
src/handler.rs:992
↓ 2 callersFunctionhandle_comment_navigator_action
Handle actions when the comment navigator panel is focused
src/handler.rs:1289
↓ 2 callersFunctionhandle_commit_selector_action
Handle actions when inline commit selector panel is focused
src/handler.rs:1196
↓ 2 callersFunctionhandle_file_list_action
Handle actions when file list panel is focused
src/handler.rs:1258
↓ 2 callersFunctionhandle_help_action
Handle actions in Help mode (scrolling only)
src/handler.rs:476
↓ 2 callersFunctionhandle_search_action
Handle actions in Search mode (text input for /pattern)
src/handler.rs:951
↓ 2 callersMethodhas_comment_navigator_items
(&self)
src/app/comments.rs:172
↓ 2 callersFunctionhas_ignore_rules
Return true when repo-level ignore rules can affect tuicr's diff file list.
src/tuicrignore.rs:38
↓ 2 callersFunctionhighlight_jobs_parallel
( jobs: &[HighlightJob], highlighter: &SyntaxHighlighter, )
src/vcs/mod.rs:240
↓ 2 callersMethodhighlight_lines_with
Run syntect line-by-line against a resolved syntax, converting to ratatui spans. Shared by file and markdown highlighting.
src/syntax/mod.rs:126
↓ 2 callersMethodhighlight_markdown_lines
Highlight `lines` as Markdown, for the in-progress review comment box. Colors come from the active syntect theme, matching code highlighting.
src/syntax/mod.rs:115
↓ 2 callersFunctionhighlight_single_job
(job: &HighlightJob, highlighter: &SyntaxHighlighter)
src/vcs/mod.rs:276
↓ 2 callersFunctionhighlighted_window_spans
Emit spans covering `line_text[start..end)` using the per-line markdown highlight `runs` (concatenation of run text equals `line_text`). Falls back to
src/ui/comment_panel.rs:56
↓ 2 callersMethodhunk_content_hash_counts
(&self)
src/model/diff_types.rs:106
↓ 2 callersFunctionhunk_header_text_and_style
( theme: &Theme, hunk: &DiffHunk, is_hunk_reviewed: bool, )
src/ui/diff_view.rs:149
↓ 2 callersMethodhunk_review_key_with_counts
( &self, hunk: &DiffHunk, hash_counts: &HashMap<u64, usize>, )
src/model/diff_types.rs:114
↓ 2 callersMethodhunk_review_keys
(&self)
src/model/diff_types.rs:98
↓ 2 callersMethodhunk_review_target
(&self, file_idx: usize, hunk_idx: usize)
src/app/reviewed.rs:193
↓ 2 callersMethodid
(self)
src/review_store.rs:151
↓ 2 callersFunctioninfo
()
src/vcs/pr_noop.rs:73
↓ 2 callersMethodinto_details
(self, repo: &ForgeRepository)
src/forge/gitlab/models.rs:81
↓ 2 callersMethodinto_summary
(self, repo: &ForgeRepository)
src/forge/gitlab/models.rs:32
↓ 2 callersMethodis_cursor_in_overview
Returns true when the cursor is in the review comments area above all files.
src/app/reviewed.rs:294
↓ 2 callersFunctionis_dark_mode
()
src/theme/mod.rs:1729
↓ 2 callersMethodis_hunk_reviewed
(&self, path: &PathBuf, key: &str)
src/model/review.rs:228
↓ 2 callersMethodis_read_only
(&self)
src/app/mod.rs:652
↓ 2 callersMethodis_sparse_checkout
(self)
src/vcs/git/mod.rs:147
↓ 2 callersMethodjump_to_selected_comment
(&mut self)
src/app/comments.rs:235
↓ 2 callersFunctionline_location
(path: &str, start_line: u32, end_line: u32, side: Option<LineSide>)
src/review_cli.rs:474
↓ 2 callersMethodlist_all_sessions
List every persisted session, local and PR, newest first. Backs `tuicr review list --all` for when the caller does not know the repo.
src/review_store.rs:49
↓ 2 callersMethodlist_pull_request_review_metadata
( &self, pr: &PullRequestDetails, )
src/forge/github/gh.rs:393
↓ 2 callersMethodlist_pull_requests
( &self, _query: crate::forge::traits::PullRequestListQuery, )
src/app/tests/target_selector_tests.rs:368
↓ 2 callersMethodlist_review_threads
( &self, _pr: &crate::forge::traits::PullRequestDetails, )
src/app/tests/target_selector_tests.rs:392
↓ 2 callersFunctionload_config
()
src/config/mod.rs:177
↓ 2 callersFunctionload_matcher
(repo_root: &Path)
src/tuicrignore.rs:42
↓ 2 callersFunctionlocal_checkout_for_repo
`root`'s local checkout, but only when one of its remotes — not necessarily `origin` — matches `target_repo`.
src/forge/mod.rs:118
↓ 2 callersFunctionlocate
Locate the inclusive x-range of a substring on row `y`. Panics if the substring is not present.
src/ui/selector.rs:618
↓ 2 callersFunctionmake_pr_app_for
(repo: ForgeRepository)
src/ui/submit_modals.rs:346
↓ 2 callersFunctionmap_glab_error
(error: GlabCommandError, host: &str)
src/forge/gitlab/glab.rs:1101
← previousnext →501–600 of 2,753, ranked by callers