Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agavra/tuicr
/ functions
Functions
2,753 in github.com/agavra/tuicr
⨍
Functions
2,753
◇
Types & classes
298
↓ 6 callers
Method
single
Create a single-line range
src/model/comment.rs:32
↓ 6 callers
Function
sleep_and_drain
(child: pexpect.spawn, delay: float)
scripts/demo/drive_demo.py:110
↓ 5 callers
Function
collect_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 callers
Function
config_path_from_parts
( xdg_config_home: Option<PathBuf>, home: Option<PathBuf>, _appdata: Option<PathBuf>, )
src/config/mod.rs:134
↓ 5 callers
Function
create_initial_commit
(repo: &Repository, file_name: &str, content: &str)
src/vcs/git/diff.rs:417
↓ 5 callers
Method
current_file_path
(&self)
src/app/reviewed.rs:49
↓ 5 callers
Function
current_line_indicator_style
(theme: &Theme)
src/ui/styles.rs:89
↓ 5 callers
Function
diff_del_style
(theme: &Theme)
src/ui/styles.rs:17
↓ 5 callers
Function
draw_confirm
(app: &App)
src/ui/submit_modals.rs:438
↓ 5 callers
Method
expand_all
(&mut self)
src/app/tests/tree_tests.rs:30
↓ 5 callers
Method
feed_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 callers
Function
fork
()
src/forge/canonical.rs:114
↓ 5 callers
Method
get_cli_diff
( &self, mut args: Vec<String>, include_untracked: bool, old_source: GitConten
src/vcs/git/cli.rs:88
↓ 5 callers
Method
has_comments
(&self)
src/model/review.rs:201
↓ 5 callers
Function
list_sessions_for_selector_in_dir
( reviews_dir: &Path, selector: &Path, )
src/persistence/storage.rs:513
↓ 5 callers
Function
loaded_pr_tab
(pr_list: Vec<PullRequestSummary>)
src/app/tests/target_selector_tests.rs:2191
↓ 5 callers
Function
map_command_mode
(key: KeyEvent)
src/input/keybindings.rs:227
↓ 5 callers
Function
map_commit_select_mode
(key: KeyEvent)
src/input/keybindings.rs:388
↓ 5 callers
Function
map_key_to_action
(key: KeyEvent, mode: InputMode, leader_key: char)
src/input/keybindings.rs:139
↓ 5 callers
Function
parse_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 callers
Method
poll_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 callers
Function
popup_style
(theme: &Theme)
src/ui/styles.rs:61
↓ 5 callers
Function
prev_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 callers
Method
review_comments_render_height
(&self)
src/app/navigation.rs:791
↓ 5 callers
Function
review_metadata
(reviews: Vec<PullRequestReviewRecord>)
src/app/tests/target_selector_tests.rs:594
↓ 5 callers
Method
reviews_dir
(&self)
src/review_store.rs:92
↓ 5 callers
Function
save_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 callers
Function
save_pr_session
(store: &ReviewStore)
src/review_cli.rs:722
↓ 5 callers
Function
sbs_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 callers
Method
set_filter
Set the local filter and clamp the cursor to the resulting list.
src/forge/selector.rs:255
↓ 5 callers
Method
set_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 callers
Function
set_test_reviews_dir
(path: Option<PathBuf>)
src/persistence/storage.rs:668
↓ 5 callers
Function
setup_test_repo
Create a temporary jj repo for testing. Returns None if jj is not available.
src/vcs/jj/mod.rs:517
↓ 5 callers
Function
setup_test_repo
Create a temporary hg repo for testing. Returns None if hg is not available.
src/vcs/hg/mod.rs:522
↓ 5 callers
Method
spawn_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 callers
Method
start_load_more
Begin a "load more" fetch. Only meaningful when `Loaded` with `has_more`.
src/forge/selector.rs:147
↓ 5 callers
Function
tabify
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 callers
Method
take_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 callers
Function
target
(line: Option<u32>)
src/editor.rs:137
↓ 5 callers
Function
test_session
(repo_path: PathBuf)
src/review_store.rs:281
↓ 5 callers
Function
trim_url_suffix
(value: &str)
src/forge/github/gh.rs:806
↓ 5 callers
Function
truncate_or_pad
Truncate or pad a string to a specific width
src/ui/text_utils.rs:20
↓ 5 callers
Method
view
Project the current state into a UI-friendly view.
src/forge/selector.rs:382
↓ 5 callers
Function
visual_rows_for_line
(row_heights: &[usize], idx: usize)
src/ui/diff_view.rs:918
↓ 5 callers
Function
write_osc52
Write OSC 52 escape sequence to the given writer. Separated for testability.
src/output/markdown.rs:197
↓ 4 callers
Function
apply_horizontal_scroll
Apply horizontal scroll to a line while preserving the first span (cursor indicator)
src/ui/diff_view.rs:923
↓ 4 callers
Method
apply_pr_commit_selector
( &mut self, commits: Vec<crate::forge::traits::PullRequestCommit>, review_metadata: c
src/app/commits.rs:13
↓ 4 callers
Method
as_char
(&self)
src/model/diff_types.rs:19
↓ 4 callers
Method
backend_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 callers
Function
build_app
(commit_list: Vec<CommitInfo>)
src/app/tests/commit_selection_tests.rs:39
↓ 4 callers
Function
build_comment_target
( file: Option<PathBuf>, line: Option<u32>, end_line: Option<u32>, side: LineSideArg, )
src/review_cli.rs:374
↓ 4 callers
Function
build_query
Build the GraphQL query string parameterized by repository + PR number.
src/forge/github/review_threads.rs:235
↓ 4 callers
Method
build_visible_items
(&self)
src/app/tests/tree_tests.rs:57
↓ 4 callers
Method
can_show_more_commits
(&self)
src/app/commits.rs:302
↓ 4 callers
Function
catppuccin_theme
(flavor: CatppuccinFlavor, syntect_theme: EmbeddedThemeName)
src/theme/mod.rs:1263
↓ 4 callers
Function
char_at
(buf: &Buffer, x: u16, y: u16)
src/ui/diff_side_by_side.rs:2124
↓ 4 callers
Function
comment_range
(side: LineSide, range: LineRange)
src/forge/submit.rs:563
↓ 4 callers
Method
comment_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 callers
Method
commit_select_down
(&mut self)
src/app/commits.rs:249
↓ 4 callers
Function
commits_since_last_review_selection
( commits_newest_first: &[crate::forge::traits::PullRequestCommit], review_metadata: &crate::forge::tr
src/app/mod.rs:391
↓ 4 callers
Method
confirm_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 callers
Method
content_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 callers
Function
cursor_indicator_spaced
Get cursor indicator with spacing (two characters for line prefixes)
src/ui/diff_view.rs:141
↓ 4 callers
Method
cycle_comment_type
(&mut self)
src/app/comments.rs:772
↓ 4 callers
Method
cycle_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 callers
Function
deactivate_writer_best_effort
(writer: &mut W, mouse_enabled: bool)
src/terminal_state.rs:232
↓ 4 callers
Function
diff_context_style
(theme: &Theme)
src/ui/styles.rs:21
↓ 4 callers
Function
draw_sbs
(app: &mut App, w: u16, h: u16)
src/ui/diff_side_by_side.rs:2115
↓ 4 callers
Method
effective_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 callers
Method
enter_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 callers
Method
exit_visual_mode
(&mut self)
src/app/visual.rs:58
↓ 4 callers
Method
finish
(&self)
src/hash.rs:28
↓ 4 callers
Function
fixture
Two files: header, content, spacing, header, content.
src/app/tests/decoration_skip_tests.rs:14
↓ 4 callers
Function
fnv1a_64
FNV-1a 64-bit hash function.
src/hash.rs:5
↓ 4 callers
Function
format_comment_lines
( theme: &Theme, comment_type: CommentTypePresentation, content: &str, line_range: Option<Line
src/ui/comment_panel.rs:457
↓ 4 callers
Function
format_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 callers
Function
git
(workdir: &Path, args: &[&str])
src/vcs/git/cli.rs:1164
↓ 4 callers
Function
git_bool_config_enabled
(value: &str)
src/vcs/git/mod.rs:211
↓ 4 callers
Function
handle_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 callers
Function
handle_shared_normal_action
Handle actions shared between file list and diff panels in Normal mode
src/handler.rs:1385
↓ 4 callers
Method
has_inline_commit_selector
Whether the inline commit selector panel should be displayed.
src/app/commits.rs:231
↓ 4 callers
Method
hunk_header_line
( &self, file_idx: usize, hunk_idx: usize, )
src/app/reviewed.rs:199
↓ 4 callers
Method
hunk_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 callers
Method
ignores_all
(self)
src/vcs/traits.rs:55
↓ 4 callers
Method
info
(&self)
src/vcs/jj/mod.rs:139
↓ 4 callers
Function
init_repo_with_origin
(url: &str)
src/forge/mod.rs:129
↓ 4 callers
Method
is_hunk_reviewed
(&self, file_idx: usize, hunk_idx: usize)
src/app/reviewed.rs:215
↓ 4 callers
Method
is_visible
(&self, line_idx: usize)
src/ui/diff_side_by_side.rs:166
↓ 4 callers
Method
lineno_width
(&self)
src/app/navigation.rs:460
↓ 4 callers
Method
list_pull_requests
(&self, query: PullRequestListQuery)
src/forge/github/gh.rs:203
↓ 4 callers
Function
load_config_from_path
(path: &Path)
src/config/mod.rs:268
↓ 4 callers
Function
load_local_theme_from_path
(path: &Path)
src/theme/mod.rs:2044
↓ 4 callers
Function
load_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 callers
Function
map_comment_mode
(key: KeyEvent)
src/input/keybindings.rs:255
↓ 4 callers
Function
map_gh_error
(error: GhCommandError, host: &str)
src/forge/github/gh.rs:826
↓ 4 callers
Function
map_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 callers
Method
move_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 callers
Function
needs_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 callers
Function
nord_theme
(flavor: NordFlavor)
src/theme/mod.rs:1478
↓ 4 callers
Function
p
(idx: usize, off: usize)
src/app/tests/visual_selection_tests.rs:3
← previous
next →
201–300 of 2,753, ranked by callers