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
↓ 3 callers
Function
load_active_sessions_unlocked
(reviews_dir: &Path)
src/persistence/storage.rs:311
↓ 3 callers
Function
make_revision_app
(diff_files: Vec<DiffFile>)
src/ui/diff_unified.rs:1551
↓ 3 callers
Function
make_thread
( id: &str, path: &str, line: Option<u32>, is_resolved: bool, is_outda
src/forge/remote_comments.rs:250
↓ 3 callers
Function
map_search_mode
(key: KeyEvent)
src/input/keybindings.rs:242
↓ 3 callers
Function
mark_session_active_in_dir
( session: &ReviewSession, path: &Path, reviews_dir: &Path, )
src/persistence/storage.rs:194
↓ 3 callers
Function
mock_vcs
(root_path: PathBuf)
src/app/tests/change_status_tests.rs:78
↓ 3 callers
Function
modal_anchor
The submit modals should center over the diff pane when one is visible (file list off to the side would otherwise tug the visual centre left). Falls b
src/ui/submit_modals.rs:273
↓ 3 callers
Function
next_char_boundary
Find the byte position of the next character boundary. Returns buffer.len() if already at the end.
src/text_edit.rs:23
↓ 3 callers
Function
next_line
(lines: &mut std::iter::Peekable<I>)
src/vcs/diff_parser.rs:134
↓ 3 callers
Function
non_empty
(value: &str)
src/forge/gitlab/glab.rs:140
↓ 3 callers
Function
normalize_active_path
(path: &Path)
src/persistence/storage.rs:326
↓ 3 callers
Function
parse_graphql_page
Parse one GraphQL response page into summaries + pagination info. Reviews with empty bodies (bare approvals, auto-submitted reviews from API integrati
src/forge/github/review_summaries.rs:108
↓ 3 callers
Function
parse_hunk_header
(line: &str)
src/vcs/diff_parser.rs:380
↓ 3 callers
Function
parse_scp_like_remote
(remote_url: &str)
src/forge/github/gh.rs:772
↓ 3 callers
Function
parse_unified_diff_lines
Parse unified diff lines into DiffFile structures. This entry point is used by Git's sparse-checkout backend so large diffs can be parsed directly fr
src/vcs/diff_parser.rs:40
↓ 3 callers
Function
peek_line
( lines: &'lines mut std::iter::Peekable<I>, )
src/vcs/diff_parser.rs:141
↓ 3 callers
Method
poll_pr_load_events
Pump any pending PR fetch events into the tab state. Called from the main loop each tick; non-blocking.
src/app/pr.rs:729
↓ 3 callers
Method
poll_pr_open_events
Drain any pending PR-open result and apply it. On success, parses the diff and enters PR diff mode; on failure, routes the error into the selector ban
src/app/pr.rs:844
↓ 3 callers
Method
poll_pr_submit_events
Pump a pending create-review result. Applies lifecycle writes + the success message, or surfaces a sticky error.
src/app/submit.rs:388
↓ 3 callers
Method
populate_file_line_count_cache
Populate the file line count cache for all eligible files. Only enabled for diff sources where the worktree/index is the correct snapshot.
src/app/annotations.rs:42
↓ 3 callers
Method
pr_filter_insert_char
(&mut self, ch: char)
src/app/pr.rs:1173
↓ 3 callers
Function
pr_open_spinner_glyph
Braille spinner frames advanced every ~100ms based on elapsed time. Stable across redraws because the start instant lives on `App`.
src/ui/selector.rs:366
↓ 3 callers
Method
pr_range_sha_pair
Resolve the active inline selection (PR mode) to (start_sha, end_sha). `start_sha` is the parent of the *oldest* selected commit; `end_sha` is the *ne
src/app/pr.rs:218
↓ 3 callers
Method
pr_tab_select
Handle Enter on the PR tab. Returns true when the action was handled (load more triggered, PR open kicked off, error surfaced, etc).
src/app/pr.rs:786
↓ 3 callers
Method
prune_locked_comments
Drop locked (`Submitted`/`PushedDraft`) comments from the session. Called after a successful `forge_review_threads` fetch: anything that was published
src/app/submit.rs:553
↓ 3 callers
Function
push_file_comment
(session: &mut ReviewSession, id: &str, content: &str)
src/app/tests/persistence_merge_tests.rs:26
↓ 3 callers
Function
read_path_from_workdir
(repo: &Repository, path: &Path)
src/vcs/git/diff.rs:261
↓ 3 callers
Function
read_string
Read a string value from the table, pushing a warning if the type is wrong.
src/config/mod.rs:183
↓ 3 callers
Function
read_workdir_file
Read a file from the working tree, returning `None` on any IO error.
src/vcs/mod.rs:98
↓ 3 callers
Method
reload_diff_files
Reloads diff files from disk. Returns `(file_count, invalidated_count)` where `invalidated_count` is the number of previously reviewed files whose con
src/app/diff_load.rs:509
↓ 3 callers
Function
render_md
(buffer: &str, cursor: usize)
src/ui/comment_panel.rs:863
↓ 3 callers
Function
repository_from_path
(host: &str, path: &str)
src/forge/github/gh.rs:788
↓ 3 callers
Function
resolve_owner_repo
Resolve the `(owner, repo)` pair for a local repo from its remote `origin` URL. Falls back to the directory name (no owner) when the origin URL is mis
src/slug.rs:429
↓ 3 callers
Function
resolve_ssh_hostname_from_config
(alias: &str, config: &str)
src/forge/github/gh.rs:743
↓ 3 callers
Function
resolve_theme_name
( name: &str, theme_dir: &Path, )
src/theme/mod.rs:2136
↓ 3 callers
Method
restore_pr_cursor_to_anchor
Move the cursor to a sensible spot after a reload that may have shifted file ordering / hunk boundaries. Best-effort: match the exact `(path, new_line
src/app/pr.rs:144
↓ 3 callers
Function
reviewed_style
(theme: &Theme)
src/ui/styles.rs:41
↓ 3 callers
Method
run
Runs the prepared editor command and waits for it to exit. The caller owns terminal suspension and restoration around this process boundary.
src/editor.rs:75
↓ 3 callers
Method
save_review
Save a session through this store's storage root.
src/review_store.rs:87
↓ 3 callers
Function
save_session_in_dir_unlocked
(session: &ReviewSession, reviews_dir: &Path)
src/persistence/storage.rs:334
↓ 3 callers
Function
sbs_row_prefixes
( theme: &Theme, indicator: &'static str, left: SideSpec, right: SideSpec, lw: usize, )
src/ui/diff_side_by_side.rs:91
↓ 3 callers
Method
search_in_diff
( &mut self, pattern: &str, start_idx: usize, forward: bool, include_c
src/app/search.rs:31
↓ 3 callers
Method
set_pr_last_reviewed_commit_from_metadata
( &mut self, commits: &[crate::forge::traits::PullRequestCommit], review_metadata: &cr
src/app/commits.rs:457
↓ 3 callers
Function
short_sha
Take the first `SHORT_SHA_LEN` chars of a SHA. Shorter inputs pass through.
src/slug.rs:312
↓ 3 callers
Method
slug
(&self)
src/forge/traits.rs:52
↓ 3 callers
Function
sparse_checkout_untracked_pathspecs
(workdir: &Path)
src/vcs/git/cli.rs:635
↓ 3 callers
Method
spawn_pr_range_reload
Kick off a background fetch of `compare/<start>...<end>` and apply it on the main thread. Cancels any in-flight range reload (a fresh toggle invalidat
src/app/pr.rs:289
↓ 3 callers
Function
special
(code: KeyCode)
src/comment_vim.rs:118
↓ 3 callers
Method
start_comment_vim_command
Open the `:` command-line (vim Normal mode).
src/app/comment_vim.rs:80
↓ 3 callers
Function
status_bar_style
(theme: &Theme)
src/ui/styles.rs:65
↓ 3 callers
Function
strings
(args: [&str; N])
src/vcs/git/cli.rs:409
↓ 3 callers
Function
strip_git_suffix
(value: &str)
src/forge/github/gh.rs:814
↓ 3 callers
Function
strip_git_suffix
(value: &str)
src/forge/gitlab/glab.rs:997
↓ 3 callers
Method
submit_resolver_advance
Advance from the resolver. When `skip_confirm` is set (action-picker path), dispatch the network call directly; otherwise route to `SubmitConfirm` for
src/app/submit.rs:229
↓ 3 callers
Function
test_message
(message_type: MessageType)
src/ui/status_bar.rs:472
↓ 3 callers
Function
test_session
()
src/app/tests/persistence_merge_tests.rs:5
↓ 3 callers
Method
text
(self)
scripts/demo/drive_demo.py:55
↓ 3 callers
Function
themes_dir_from_parts
( xdg_config_home: Option<PathBuf>, home: Option<PathBuf>, _appdata: Option<PathBuf>, )
src/config/mod.rs:143
↓ 3 callers
Method
toggle
(&mut self, dir: &str)
src/app/tests/tree_tests.rs:49
↓ 3 callers
Method
toggle_commit_selection
(&mut self)
src/app/commits.rs:341
↓ 3 callers
Method
toggle_help
(&mut self)
src/app/modes.rs:71
↓ 3 callers
Method
toggle_reviewed_for_file_idx
(&mut self, file_idx: usize, adjust_cursor: bool)
src/app/reviewed.rs:152
↓ 3 callers
Method
toggle_single_file_view
Toggle single-file view. When on, the diff panel renders only the currently focused file instead of the full continuous-scroll concatenation. Annotati
src/app/tree.rs:114
↓ 3 callers
Function
trim_url_suffix
(value: &str)
src/forge/gitlab/glab.rs:989
↓ 3 callers
Method
visual_selection_line_range
(&self)
src/app/visual.rs:104
↓ 3 callers
Method
with_commit_id
Builder: set `commit_id` and return self. Called by `App::save_comment` when the inline commit selector shows exactly one commit, so the comment is sc
src/model/comment.rs:250
↓ 3 callers
Function
write_local_theme
(dir: &Path, name: &str, body: &str)
src/theme/mod.rs:2427
↓ 2 callers
Method
activate
(&mut self)
src/terminal_state.rs:117
↓ 2 callers
Function
activate_writer
(writer: &mut W, features: TerminalFeatures)
src/terminal_state.rs:193
↓ 2 callers
Function
active_sessions_path
(reviews_dir: &Path)
src/persistence/storage.rs:307
↓ 2 callers
Function
add_addition_spans
Add addition line spans to the spans vector
src/ui/diff_side_by_side.rs:1571
↓ 2 callers
Method
add_diff_file_preserving_hunks
Register a transient filtered diff without dropping hunk keys that belong to the broader persisted review scope.
src/model/review.rs:193
↓ 2 callers
Function
add_empty_column_spans
Add empty column spans (for when one side has no content)
src/ui/diff_side_by_side.rs:1602
↓ 2 callers
Method
annotation_content_len
(&self, idx: usize, side: LineSide)
src/app/visual.rs:70
↓ 2 callers
Method
announce_comment_type
Emit a status message naming the current comment type. `None` has an empty label, so fall back to its id (`none`) for legible feedback.
src/app/comments.rs:819
↓ 2 callers
Function
assert_all_lines_highlighted
(files: &[DiffFile])
src/vcs/mod.rs:493
↓ 2 callers
Function
assert_roundtrip
(s: &str)
src/slug.rs:631
↓ 2 callers
Function
author_accent
`Some(colour)` when `author` differs from the viewer (so the comment chrome should advertise authorship), `None` when the comment is the viewer's own.
src/ui/styles.rs:145
↓ 2 callers
Function
author_color_for
Deterministic palette colour for a given author name. Always returns a colour; callers gate visibility separately via [`author_accent`]. Hashes via FN
src/ui/styles.rs:133
↓ 2 callers
Function
body_text
(buffer: &Buffer)
src/ui/diff_side_by_side.rs:2005
↓ 2 callers
Function
build_app_full
( commits: Vec<CommitInfo>, comment_type_configs: Option<Vec<crate::config::CommentTypeConfig>>, )
src/app/tests/target_selector_tests.rs:238
↓ 2 callers
Function
build_inline_body
Compute the inline body for `comment` honoring the `[TYPE]` prefix toggle. File-level bodies are prefixed `[TYPE] File-level:`.
src/forge/submit.rs:153
↓ 2 callers
Function
build_query
Build the GraphQL query for fetching reviews on a PR.
src/forge/github/review_summaries.rs:154
↓ 2 callers
Function
build_right_aligned_spans
( mut left_spans: Vec<Span<'a>>, message_span: Span<'a>, message_width: usize, total_width: us
src/ui/status_bar.rs:40
↓ 2 callers
Function
built_in_theme_names_display
()
src/theme/mod.rs:1646
↓ 2 callers
Method
cancel_pr_filter
(&mut self)
src/app/pr.rs:1169
↓ 2 callers
Method
cancel_submit_action_picker
Cancel the action picker without entering preflight.
src/app/submit.rs:187
↓ 2 callers
Method
char_range
Char range `[lo, hi)` of `total_chars` covered by this selection on the annotation `ann_idx`. Returns `(0, total_chars)` for annotations strictly betw
src/app/mod.rs:226
↓ 2 callers
Method
clamp_cursor
Clamp the cursor into `[0, visible + maybe_load_more)`.
src/forge/selector.rs:281
↓ 2 callers
Function
clear_active_session_for_pid_in_dir
(reviews_dir: &Path)
src/persistence/storage.rs:224
↓ 2 callers
Function
clear_visual_if_cursor_offscreen
Helix-style: scrolling the cursor off-viewport drops the selection.
src/handler.rs:270
↓ 2 callers
Function
collect_comments
(session: &ReviewSession)
src/review_cli.rs:422
↓ 2 callers
Function
column_pad_style
(theme: &Theme, dl: &DiffLine, origin: LineOrigin)
src/ui/diff_side_by_side.rs:53
↓ 2 callers
Function
combine_streams_for_error
Build the `stderr` field of a failed-command error from the child's stdout + stderr. `gh api` puts the JSON response body on stdout even on non-2xx, w
src/process.rs:65
↓ 2 callers
Function
comment_border_style
(theme: &Theme, _color: Color)
src/ui/styles.rs:109
↓ 2 callers
Method
comment_type_color
(&self, comment_type: &CommentType)
src/app/init.rs:692
↓ 2 callers
Method
comment_vim_command_backspace
Backspace in the `:` command-line; backspacing past `:` closes it.
src/app/comment_vim.rs:92
↓ 2 callers
Method
comment_vim_enter_normal
Plain Enter in vim Normal mode: arm Save, or save on the second consecutive press (like `:w`).
src/app/comment_vim.rs:53
↓ 2 callers
Method
comment_vim_esc_normal
Esc in vim Normal mode: arm Cancel, or cancel on the second consecutive press (like `:q`). A lone Esc does nothing but show the hint.
src/app/comment_vim.rs:64
↓ 2 callers
Method
comment_vim_feed_key
Feed a key to the vim overlay and sync the result into the canonical `comment_buffer`/`comment_cursor`.
src/app/comment_vim.rs:127
← previous
next →
401–500 of 2,753, ranked by callers