MCPcopy Create free account

hub / github.com/agavra/tuicr / functions

Functions2,753 in github.com/agavra/tuicr

↓ 6 callersMethodsingle
Create a single-line range
src/model/comment.rs:32
↓ 6 callersFunctionsleep_and_drain
(child: pexpect.spawn, delay: float)
scripts/demo/drive_demo.py:110
↓ 5 callersFunctioncollect_tracked_paths
Enumerate every tracked file in the git repository rooted at `repo_root`, returning absolute paths. The list is taken from `git ls-files -z`, so it r
src/vcs/pristine.rs:36
↓ 5 callersFunctionconfig_path_from_parts
( xdg_config_home: Option<PathBuf>, home: Option<PathBuf>, _appdata: Option<PathBuf>, )
src/config/mod.rs:134
↓ 5 callersFunctioncreate_initial_commit
(repo: &Repository, file_name: &str, content: &str)
src/vcs/git/diff.rs:417
↓ 5 callersMethodcurrent_file_path
(&self)
src/app/reviewed.rs:49
↓ 5 callersFunctioncurrent_line_indicator_style
(theme: &Theme)
src/ui/styles.rs:89
↓ 5 callersFunctiondiff_del_style
(theme: &Theme)
src/ui/styles.rs:17
↓ 5 callersFunctiondraw_confirm
(app: &App)
src/ui/submit_modals.rs:438
↓ 5 callersMethodexpand_all
(&mut self)
src/app/tests/tree_tests.rs:30
↓ 5 callersMethodfeed_key
Feed a key event to the editor and return the resulting `(text, byte_cursor)` for the caller to sync into the canonical buffer.
src/comment_vim.rs:50
↓ 5 callersFunctionfork
()
src/forge/canonical.rs:114
↓ 5 callersMethodget_cli_diff
( &self, mut args: Vec<String>, include_untracked: bool, old_source: GitConten
src/vcs/git/cli.rs:88
↓ 5 callersMethodhas_comments
(&self)
src/model/review.rs:201
↓ 5 callersFunctionlist_sessions_for_selector_in_dir
( reviews_dir: &Path, selector: &Path, )
src/persistence/storage.rs:513
↓ 5 callersFunctionloaded_pr_tab
(pr_list: Vec<PullRequestSummary>)
src/app/tests/target_selector_tests.rs:2191
↓ 5 callersFunctionmap_command_mode
(key: KeyEvent)
src/input/keybindings.rs:227
↓ 5 callersFunctionmap_commit_select_mode
(key: KeyEvent)
src/input/keybindings.rs:388
↓ 5 callersFunctionmap_key_to_action
(key: KeyEvent, mode: InputMode, leader_key: char)
src/input/keybindings.rs:139
↓ 5 callersFunctionparse_pull_request_target_gitlab
Parse a pull request target string in GitLab format. Accepts: numeric IID, full GitLab MR URL, or `owner/repo#iid` / `host/owner/repo#iid`.
src/forge/gitlab/glab.rs:814
↓ 5 callersMethodpoll_pr_threads_events
Drain any pending remote-thread fetch result and apply it. Stale results (a result that arrived after the user switched to a different PR) are discard
src/app/pr.rs:968
↓ 5 callersFunctionpopup_style
(theme: &Theme)
src/ui/styles.rs:61
↓ 5 callersFunctionprev_char_boundary
UTF-8 aware text editing utilities. Provides cursor movement and text manipulation functions that correctly handle multi-byte UTF-8 characters (CJK,
src/text_edit.rs:8
↓ 5 callersMethodreview_comments_render_height
(&self)
src/app/navigation.rs:791
↓ 5 callersFunctionreview_metadata
(reviews: Vec<PullRequestReviewRecord>)
src/app/tests/target_selector_tests.rs:594
↓ 5 callersMethodreviews_dir
(&self)
src/review_store.rs:92
↓ 5 callersFunctionsave_manifest
Save the manifest atomically: write to a sibling temp file, then rename. A concurrent reader sees either the old version or the new version, never a p
src/persistence/manifest.rs:154
↓ 5 callersFunctionsave_pr_session
(store: &ReviewStore)
src/review_cli.rs:722
↓ 5 callersFunctionsbs_overhead
Side-by-side fixed overhead (both gutters + " │ " divider). Left: indicator(1) + lineno(w) + space(1) + prefix(1) Right: lineno(w) + space(1) + prefix
src/app/mod.rs:180
↓ 5 callersMethodset_filter
Set the local filter and clamp the cursor to the resulting list.
src/forge/selector.rs:255
↓ 5 callersMethodset_remote_comments_visibility
Update the per-session remote comments visibility and repaint. Returns `true` if the visibility actually changed.
src/app/pr.rs:1044
↓ 5 callersFunctionset_test_reviews_dir
(path: Option<PathBuf>)
src/persistence/storage.rs:668
↓ 5 callersFunctionsetup_test_repo
Create a temporary jj repo for testing. Returns None if jj is not available.
src/vcs/jj/mod.rs:517
↓ 5 callersFunctionsetup_test_repo
Create a temporary hg repo for testing. Returns None if hg is not available.
src/vcs/hg/mod.rs:522
↓ 5 callersMethodspawn_pr_threads_fetch
Kick off a background fetch of remote review threads for `details`. Replaces any in-flight fetch — we don't try to merge results across concurrent fet
src/app/pr.rs:931
↓ 5 callersMethodstart_load_more
Begin a "load more" fetch. Only meaningful when `Loaded` with `has_more`.
src/forge/selector.rs:147
↓ 5 callersFunctiontabify
Expand tabs to spaces in diff line content so highlighted spans line up with the displayed text in side-by-side and unified rendering.
src/vcs/mod.rs:69
↓ 5 callersMethodtake_pending_editor_target
Takes the queued editor target after action dispatch. The main event loop consumes this after leaving raw mode and the alternate screen, because `App
src/app/reviewed.rs:58
↓ 5 callersFunctiontarget
(line: Option<u32>)
src/editor.rs:137
↓ 5 callersFunctiontest_session
(repo_path: PathBuf)
src/review_store.rs:281
↓ 5 callersFunctiontrim_url_suffix
(value: &str)
src/forge/github/gh.rs:806
↓ 5 callersFunctiontruncate_or_pad
Truncate or pad a string to a specific width
src/ui/text_utils.rs:20
↓ 5 callersMethodview
Project the current state into a UI-friendly view.
src/forge/selector.rs:382
↓ 5 callersFunctionvisual_rows_for_line
(row_heights: &[usize], idx: usize)
src/ui/diff_view.rs:918
↓ 5 callersFunctionwrite_osc52
Write OSC 52 escape sequence to the given writer. Separated for testability.
src/output/markdown.rs:197
↓ 4 callersFunctionapply_horizontal_scroll
Apply horizontal scroll to a line while preserving the first span (cursor indicator)
src/ui/diff_view.rs:923
↓ 4 callersMethodapply_pr_commit_selector
( &mut self, commits: Vec<crate::forge::traits::PullRequestCommit>, review_metadata: c
src/app/commits.rs:13
↓ 4 callersMethodas_char
(&self)
src/model/diff_types.rs:19
↓ 4 callersMethodbackend_mut
Returns the terminal backend for low-level terminal commands. This is used for synchronized-update escape sequences that ratatui does not manage dire
src/terminal_state.rs:89
↓ 4 callersFunctionbuild_app
(commit_list: Vec<CommitInfo>)
src/app/tests/commit_selection_tests.rs:39
↓ 4 callersFunctionbuild_comment_target
( file: Option<PathBuf>, line: Option<u32>, end_line: Option<u32>, side: LineSideArg, )
src/review_cli.rs:374
↓ 4 callersFunctionbuild_query
Build the GraphQL query string parameterized by repository + PR number.
src/forge/github/review_threads.rs:235
↓ 4 callersMethodbuild_visible_items
(&self)
src/app/tests/tree_tests.rs:57
↓ 4 callersMethodcan_show_more_commits
(&self)
src/app/commits.rs:302
↓ 4 callersFunctioncatppuccin_theme
(flavor: CatppuccinFlavor, syntect_theme: EmbeddedThemeName)
src/theme/mod.rs:1263
↓ 4 callersFunctionchar_at
(buf: &Buffer, x: u16, y: u16)
src/ui/diff_side_by_side.rs:2124
↓ 4 callersFunctioncomment_range
(side: LineSide, range: LineRange)
src/forge/submit.rs:563
↓ 4 callersMethodcomment_visible
Whether a comment should be visible given the current commit selection. A comment with `commit_id == None` (legacy or made against the full cumulative
src/app/commits.rs:423
↓ 4 callersMethodcommit_select_down
(&mut self)
src/app/commits.rs:249
↓ 4 callersFunctioncommits_since_last_review_selection
( commits_newest_first: &[crate::forge::traits::PullRequestCommit], review_metadata: &crate::forge::tr
src/app/mod.rs:391
↓ 4 callersMethodconfirm_submit
Confirm submit — PR 6 dispatches the async `gh api .../reviews` call. Builds the body + payload on the main thread, saves the session, then hands off
src/app/submit.rs:260
↓ 4 callersMethodcontent_for_side
In SBS, picks Old or New per `side`, falling back to the other pane if the requested one is empty. Unified diff rows ignore `side`.
src/app/navigation.rs:391
↓ 4 callersFunctioncursor_indicator_spaced
Get cursor indicator with spacing (two characters for line prefixes)
src/ui/diff_view.rs:141
↓ 4 callersMethodcycle_comment_type
(&mut self)
src/app/comments.rs:772
↓ 4 callersMethodcycle_target_tab
Switch to the next/previous tab in the review target selector. With only two tabs, forward and reverse are equivalent; the `_forward` arg is kept so c
src/app/commits.rs:206
↓ 4 callersFunctiondeactivate_writer_best_effort
(writer: &mut W, mouse_enabled: bool)
src/terminal_state.rs:232
↓ 4 callersFunctiondiff_context_style
(theme: &Theme)
src/ui/styles.rs:21
↓ 4 callersFunctiondraw_sbs
(app: &mut App, w: u16, h: u16)
src/ui/diff_side_by_side.rs:2115
↓ 4 callersMethodeffective_visible_lines
Number of logical lines that fit in the viewport. Uses the render-computed `visible_line_count` (which accounts for line wrapping), falling back to `v
src/app/mod.rs:1379
↓ 4 callersMethodenter_pr_diff_mode
Re-enter PR mode after we've already opened a PR via the selector. Used by the selector → PR open path and by `:reload` in PR mode.
src/app/pr.rs:6
↓ 4 callersMethodexit_visual_mode
(&mut self)
src/app/visual.rs:58
↓ 4 callersMethodfinish
(&self)
src/hash.rs:28
↓ 4 callersFunctionfixture
Two files: header, content, spacing, header, content.
src/app/tests/decoration_skip_tests.rs:14
↓ 4 callersFunctionfnv1a_64
FNV-1a 64-bit hash function.
src/hash.rs:5
↓ 4 callersFunctionformat_comment_lines
( theme: &Theme, comment_type: CommentTypePresentation, content: &str, line_range: Option<Line
src/ui/comment_panel.rs:457
↓ 4 callersFunctionformat_remote_thread_lines
Format an entire remote (read-only) forge review thread as one fused box so it reads as a single discussion unit. Root comment opens the box; replies
src/ui/comment_panel.rs:301
↓ 4 callersFunctiongit
(workdir: &Path, args: &[&str])
src/vcs/git/cli.rs:1164
↓ 4 callersFunctiongit_bool_config_enabled
(value: &str)
src/vcs/git/mod.rs:211
↓ 4 callersFunctionhandle_commit_select_action
Handle actions in CommitSelect mode. CommitSelect actually drives the review target selector, which has two tabs (Local and Pull Requests). Tab-share
src/handler.rs:1090
↓ 4 callersFunctionhandle_shared_normal_action
Handle actions shared between file list and diff panels in Normal mode
src/handler.rs:1385
↓ 4 callersMethodhas_inline_commit_selector
Whether the inline commit selector panel should be displayed.
src/app/commits.rs:231
↓ 4 callersMethodhunk_header_line
( &self, file_idx: usize, hunk_idx: usize, )
src/app/reviewed.rs:199
↓ 4 callersMethodhunk_positions
Render-line indices of every visible hunk header. Respects single-file view (only the current file's hunks) and the reviewed-collapse behavior in mult
src/app/navigation.rs:676
↓ 4 callersMethodignores_all
(self)
src/vcs/traits.rs:55
↓ 4 callersMethodinfo
(&self)
src/vcs/jj/mod.rs:139
↓ 4 callersFunctioninit_repo_with_origin
(url: &str)
src/forge/mod.rs:129
↓ 4 callersMethodis_hunk_reviewed
(&self, file_idx: usize, hunk_idx: usize)
src/app/reviewed.rs:215
↓ 4 callersMethodis_visible
(&self, line_idx: usize)
src/ui/diff_side_by_side.rs:166
↓ 4 callersMethodlineno_width
(&self)
src/app/navigation.rs:460
↓ 4 callersMethodlist_pull_requests
(&self, query: PullRequestListQuery)
src/forge/github/gh.rs:203
↓ 4 callersFunctionload_config_from_path
(path: &Path)
src/config/mod.rs:268
↓ 4 callersFunctionload_local_theme_from_path
(path: &Path)
src/theme/mod.rs:2044
↓ 4 callersFunctionload_pr_session
Look up the persisted PR session for a key. Returns `None` if no entry exists for the slug, or if the manifest's current head differs from the request
src/persistence/storage.rs:618
↓ 4 callersFunctionmap_comment_mode
(key: KeyEvent)
src/input/keybindings.rs:255
↓ 4 callersFunctionmap_gh_error
(error: GhCommandError, host: &str)
src/forge/github/gh.rs:826
↓ 4 callersFunctionmap_target_filter_mode
Key map used while the user is editing the PR-tab local filter. This is a sub-state of `InputMode::CommitSelect`; the dispatcher in `main.rs` routes h
src/input/keybindings.rs:407
↓ 4 callersMethodmove_cursor_to_annotation
Syncs `current_file_idx` so the file list selection follows when the new cursor lands on an annotation belonging to a file.
src/app/navigation.rs:373
↓ 4 callersFunctionneeds_full_file_highlight
Whether `path` belongs to a "container" syntax that embeds other languages and so needs the full file (not just a hunk slice) in scope before its nest
src/syntax/mod.rs:29
↓ 4 callersFunctionnord_theme
(flavor: NordFlavor)
src/theme/mod.rs:1478
↓ 4 callersFunctionp
(idx: usize, off: usize)
src/app/tests/visual_selection_tests.rs:3
← previousnext →201–300 of 2,753, ranked by callers