MCPcopy Create free account

hub / github.com/agavra/tuicr / functions

Functions2,753 in github.com/agavra/tuicr

↓ 4 callersMethodparse
Parse a user-supplied repo selector: `owner/repo`, `host/owner/repo`, `forge:host/owner/repo`, or an HTTPS / SSH / SCP URL. The last two path segments
src/slug.rs:370
↓ 4 callersMethodparse
Parse Git revision syntax accepted by tuicr's `-r` option. This accepts `REV`, `A..B`, `A..`, `..B`, and `A...B`. Open-ended two-dot ranges are norma
src/vcs/git/mod.rs:53
↓ 4 callersFunctionpush_comment_bar
Per-call-site helper: record a bar anchor if the comment has a line range. No-op for file-level / review-level comments which don't anchor to a covere
src/ui/diff_view.rs:635
↓ 4 callersMethodread_only_reason
(&self)
src/app/mod.rs:642
↓ 4 callersFunctionread_path_from_tree
(repo: &Repository, tree: &git2::Tree, path: &Path)
src/vcs/git/diff.rs:255
↓ 4 callersMethodreload_inline_selection_for_source
Reload the inline commit subrange diff via the backend appropriate for the current review. PR reviews route through the forge `compare` API (persistin
src/app/commits.rs:856
↓ 4 callersFunctionrender
(frame: &mut Frame, app: &mut App)
src/ui/app_layout.rs:19
↓ 4 callersFunctionrender_unified_diff
(frame: &mut Frame, app: &mut App, area: Rect)
src/ui/diff_unified.rs:27
↓ 4 callersFunctionrepo
()
src/forge/pr_open.rs:181
↓ 4 callersMethodrun_api
(&self, repo: &ForgeRepository, endpoint: String)
src/forge/gitlab/glab.rs:239
↓ 4 callersMethodsave_comment
(&mut self)
src/app/comments.rs:650
↓ 4 callersFunctionsbs_left_gutter
Side-by-side leading width before Old content: indicator(1) + lineno(w) + space(1) + prefix(1).
src/app/mod.rs:172
↓ 4 callersMethodscroll_left
(&mut self, cols: usize)
src/app/mod.rs:1279
↓ 4 callersMethodscroll_right
(&mut self, cols: usize)
src/app/mod.rs:1283
↓ 4 callersMethodselected_commit_set
The set of commit SHAs currently selected in the inline commit selector. `None` when there is no selector / no selection (working tree, staged, etc.)
src/app/commits.rs:400
↓ 4 callersMethodsession_slug
Slug for the currently active session, derived from the session's embedded fields. Returns `None` if derivation fails (e.g., a local session pointing
src/app/session.rs:8
↓ 4 callersMethodset_message_inner
( &mut self, msg: impl Into<String>, message_type: MessageType, ttl: Option<Du
src/app/modes.rs:22
↓ 4 callersFunctionsetup_standard_repo
(root: &Path)
src/vcs/git/mod.rs:515
↓ 4 callersMethodsha
Return the SHA matching `side`.
src/forge/traits.rs:303
↓ 4 callersMethodshould_render_gap_before_hunk
(&self, file_idx: usize, hunk_idx: usize)
src/app/reviewed.rs:232
↓ 4 callersMethodstart_submit_action_picker
Open the bare-`:submit` action picker. The user picks Comment/Approve/Request changes/Draft (or cancels); the picked event then runs through preflight
src/app/submit.rs:147
↓ 4 callersMethodsubmit_picker_confirm
Confirm the action picker selection: dispatch into preflight with the chosen event and `skip_confirm = true`.
src/app/submit.rs:174
↓ 4 callersFunctionthread_display_lines
Count the number of rendered lines a thread occupies in the diff view. Used by `App::rebuild_annotations` to push the matching number of annotations s
src/forge/remote_comments.rs:209
↓ 4 callersMethodtoggle_scope_and_start_reload
Toggle between all open PRs and PRs awaiting the current user's review, then transition to `Loading` so the caller can refetch page 1.
src/forge/selector.rs:167
↓ 4 callersFunctiontruncate_or_pad_spans
Truncate or pad highlighted spans to a specific display width Uses unicode width to properly handle wide characters (CJK, emoji, etc.) Returns a vecto
src/ui/text_utils.rs:32
↓ 4 callersFunctiontruncate_str
(s: &str, max_len: usize)
src/ui/text_utils.rs:4
↓ 3 callersFunctionactive_session_paths_in_dir
(reviews_dir: &Path)
src/persistence/storage.rs:234
↓ 3 callersMethodadd_comment
Add a local draft comment to a persisted session and save it.
src/review_store.rs:73
↓ 3 callersFunctionadd_comments_to_line
( line_num: u32, line_comments: &std::collections::HashMap<u32, Vec<crate::model::Comment>>, side:
src/ui/diff_side_by_side.rs:1669
↓ 3 callersFunctionadd_remote_threads_to_line
Add comments for a specific line. Returns (new_line_idx, optional cursor info for inline comment input) Render remote review threads anchored at this
src/ui/diff_side_by_side.rs:1615
↓ 3 callersFunctionannotation_file_idx
(annotation: &AnnotatedLine)
src/app/mod.rs:430
↓ 3 callersMethodapply_canonical
Promote the in-flight `Loading` tab to a (possibly different) canonical repository. Called by `poll_pr_load_events` right before `apply_initial_load`
src/forge/selector.rs:184
↓ 3 callersMethodapply_load_more
Apply the result of a load-more fetch. Appends rows.
src/forge/selector.rs:222
↓ 3 callersMethodbegin_pr_filter
(&mut self)
src/app/pr.rs:1149
↓ 3 callersFunctionblend
(base: Color, accent: Color, accent_percent: u8)
src/theme/mod.rs:1249
↓ 3 callersMethodbuild
( vcs: Box<dyn VcsBackend>, vcs_info: VcsInfo, theme: Theme, comment_type_conf
src/app/init.rs:381
↓ 3 callersFunctionbuild_add_request_parts
(options: AddCommentOptions)
src/review_cli.rs:141
↓ 3 callersFunctionbuild_app_with_commits
(commits: Vec<CommitInfo>)
src/app/tests/target_selector_tests.rs:223
↓ 3 callersMethodbuild_graphql_args
( &self, pr: &PullRequestDetails, query: &str, cursor: Option<&str>, )
src/forge/github/gh.rs:527
↓ 3 callersFunctionbyte_to_index2
Convert a UTF-8 byte offset into an edtui `(row, col)` index, where `col` is a character index within the row.
src/comment_vim.rs:92
↓ 3 callersMethodcancel_pr_open
Abort an in-flight PR open. Drops the receiver so the eventual thread send becomes a no-op; clears the spinner state.
src/app/pr.rs:1058
↓ 3 callersMethodcancel_submit
(&mut self)
src/app/submit.rs:192
↓ 3 callersMethodcanonicalize_lazy
(self, base: &Path)
src/vcs/file.rs:610
↓ 3 callersMethodcapture_pr_cursor_anchor
Reload the PR's head from the forge. If the head SHA changed, this switches sessions so old-head draft comments stay with the old session and the new
src/app/pr.rs:106
↓ 3 callersFunctioncentered_rect
(percent_x: u16, percent_y: u16, area: Rect)
src/ui/submit_modals.rs:277
↓ 3 callersFunctioncheck_graphql_errors
Inspect a `glab api graphql` response for logical errors. GraphQL returns HTTP 200 even when a mutation fails, so a successful exit status is not eno
src/forge/gitlab/glab.rs:1161
↓ 3 callersMethodcollapse_all
(&mut self)
src/app/tests/tree_tests.rs:45
↓ 3 callersMethodcomment_count
(&self)
src/model/review.rs:43
↓ 3 callersFunctioncomment_file_level
()
src/forge/submit.rs:572
↓ 3 callersMethodcomment_type_label
Human-facing label for a comment type, e.g. `SUGGESTION`. Returns an empty string for [`CommentType::None`] so callers render no badge.
src/app/init.rs:676
↓ 3 callersFunctioncomment_type_presentation
( app: &App, comment_type: &crate::model::CommentType, )
src/ui/diff_view.rs:209
↓ 3 callersFunctioncomment_type_style
(_theme: &Theme, color: Color)
src/ui/styles.rs:105
↓ 3 callersMethodcomment_vim_command_push
Append a typed character to the `:` command-line.
src/app/comment_vim.rs:85
↓ 3 callersMethodcomment_vim_mode_label
Header indicator for the comment box as `(text, warn)`, or `None` when vim is off. `warn` is true for the cancel-confirm hint so the renderer can pain
src/app/comment_vim.rs:23
↓ 3 callersMethodcommit_select_up
(&mut self)
src/app/commits.rs:239
↓ 3 callersFunctionconfig_dir_from_parts
( xdg_config_home: Option<PathBuf>, home: Option<PathBuf>, _appdata: Option<PathBuf>, )
src/config/mod.rs:151
↓ 3 callersFunctioncontent_spans_for_diff_line
( theme: &Theme, dl: &DiffLine, origin: LineOrigin, )
src/ui/diff_side_by_side.rs:36
↓ 3 callersMethoddefault_comment_type
(&self)
src/app/init.rs:633
↓ 3 callersFunctiondetails
()
src/forge/pr_open.rs:185
↓ 3 callersMethoddiff_annotation_at_screen_row
(&self, screen_row: u16)
src/app/navigation.rs:362
↓ 3 callersMethoddiff_args
(&self, args: &'a [&'a str])
src/vcs/jj/mod.rs:125
↓ 3 callersMethoddiff_args
(&self, args: &'a [&'a str])
src/vcs/hg/mod.rs:88
↓ 3 callersMethodensure_valid_tree_selection
(&mut self)
src/app/tree.rs:219
↓ 3 callersMethodenter
Enters TUI terminal mode and returns the owning session.
src/terminal_state.rs:42
↓ 3 callersMethodenter_comment_mode
(&mut self, file_level: bool, line: Option<(u32, LineSide)>)
src/app/comments.rs:612
↓ 3 callersFunctionentry_from_session
Build a manifest entry from a loaded session and the session file's path relative to the reviews directory. The caller is responsible for determining
src/persistence/manifest.rs:173
↓ 3 callersFunctionexport_to_clipboard
( session: &ReviewSession, diff_source: &DiffSource, comment_types: &[CommentTypeDefinition],
src/output/markdown.rs:53
↓ 3 callersMethodfetch_context_lines
( &self, old_path: Option<&PathBuf>, new_path: Option<&PathBuf>, file_status:
src/forge/context.rs:54
↓ 3 callersFunctionfetch_pr_data
Network-only half of the PR open path: fetch PR metadata, the raw patch text, and the commit list. Safe to run on a background thread because it does
src/forge/pr_open.rs:72
↓ 3 callersFunctionfile_header_style
(theme: &Theme)
src/ui/styles.rs:35
↓ 3 callersMethodfile_idx_to_tree_idx
(&self, target_file_idx: usize)
src/app/navigation.rs:660
↓ 3 callersMethodfile_render_height
(&self, file_idx: usize, file: &DiffFile)
src/app/navigation.rs:828
↓ 3 callersFunctionfilter_threads
Filter a list of threads by the active visibility setting. Threads that should not render are dropped; remaining ones keep their flags so the renderer
src/forge/remote_comments.rs:190
↓ 3 callersMethodfind_comment_at_cursor
(&self)
src/app/comments.rs:305
↓ 3 callersMethodfinish_pr_reload
( &mut self, details: crate::forge::traits::PullRequestDetails, patch: String,
src/app/pr.rs:521
↓ 3 callersMethodflush
(self)
scripts/demo/drive_demo.py:52
↓ 3 callersMethodget_change_status
(&self)
src/vcs/git/cli.rs:228
↓ 3 callersMethodget_line_at_cursor
Returns the source line number and side at the current cursor position, if on a diff line
src/app/navigation.rs:1275
↓ 3 callersMethodget_pr
Find the PR entry for `slug` (PR entries are singletons per slug).
src/persistence/manifest.rs:87
↓ 3 callersFunctionget_recent_commits
( repo: &Repository, offset: usize, limit: usize, )
src/vcs/git/repository.rs:66
↓ 3 callersMethodget_recent_commits
(&self, offset: usize, limit: usize)
src/app/tests/target_selector_tests.rs:59
↓ 3 callersMethodget_recent_commits
(&self, offset: usize, limit: usize)
src/vcs/jj/mod.rs:251
↓ 3 callersMethodget_recent_commits
(&self, offset: usize, limit: usize)
src/vcs/hg/mod.rs:194
↓ 3 callersMethodget_review
Load a persisted review session.
src/review_store.rs:68
↓ 3 callersMethodget_selected_tree_item
(&self)
src/app/tree.rs:307
↓ 3 callersMethodget_syntax
Resolve syntax from a file path using this lookup order: extension -> lowercase extension (when different) -> fallback extension -> filename token ->
src/syntax/mod.rs:326
↓ 3 callersMethodget_working_tree_diff
(&self, _highlighter: &SyntaxHighlighter)
src/app/tests/expand_gap_tests.rs:16
↓ 3 callersFunctionhandle_diff_action
Handle actions when diff panel is focused
src/handler.rs:1332
↓ 3 callersFunctionhandle_export
Export review: either to clipboard or set pending stdout output based on app.output_to_stdout. When output_to_stdout is true, stores the content and s
src/handler.rs:339
↓ 3 callersFunctionhighlight_n_vue_files
(n: usize)
src/vcs/mod.rs:471
↓ 3 callersFunctioninit_git_repo
(dir: &Path)
src/vcs/pristine.rs:103
↓ 3 callersMethodinsert_commit_message_if_single
If we are viewing a single commit, insert a "Commit Message" DiffFile at index 0. The synthetic path embeds the commit's short id (`Commit Message (<
src/app/diff_load.rs:34
↓ 3 callersMethodinto_review_thread
(self)
src/forge/gitlab/models.rs:197
↓ 3 callersMethodis_commit_selected
Check if a commit at the given index is selected
src/app/commits.rs:386
↓ 3 callersFunctionis_probably_binary
(path: &Path)
src/vcs/file.rs:372
↓ 3 callersFunctionkey
(c: char)
src/comment_vim.rs:114
↓ 3 callersFunctionkey
()
src/forge/context.rs:232
↓ 3 callersFunctionkey_shift
(c: char)
src/input/keybindings.rs:445
↓ 3 callersFunctionline_comment
(content: &str, commit_id: Option<&str>)
src/app/tests/commit_scoped_comment_tests.rs:82
↓ 3 callersMethodlist_review_summaries
(&self, pr: &PullRequestDetails)
src/forge/github/gh.rs:371
← previousnext →301–400 of 2,753, ranked by callers