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
↓ 2 callers
Function
map_help_mode
(key: KeyEvent)
src/input/keybindings.rs:327
↓ 2 callers
Method
mark_current_session_active_at
(&mut self, path: &Path)
src/app/session.rs:129
↓ 2 callers
Method
matches
(&self, slug: &str, entry: &ManifestEntry)
src/persistence/storage.rs:563
↓ 2 callers
Function
mode_style
(theme: &Theme)
src/ui/styles.rs:71
↓ 2 callers
Method
next_hunk
(&mut self)
src/app/navigation.rs:717
↓ 2 callers
Function
normalize_ssh_transport_host
Map GitHub's documented SSH-over-HTTPS transport host back to its API host. Users behind networks that block port 22 follow GitHub's [SSH-over-443 wo
src/forge/github/gh.rs:735
↓ 2 callers
Function
normalize_state
(state: &str)
src/forge/gitlab/models.rs:325
↓ 2 callers
Method
on_target_tab_entered
Entry-point hook called when the PR tab becomes visible. Triggers the first network call lazily.
src/app/commits.rs:222
↓ 2 callers
Method
opened_pr_with_new_head_session
( &mut self, opened: crate::forge::pr_open::OpenedPullRequest, )
src/app/session.rs:563
↓ 2 callers
Function
overflow_row
(theme: &crate::theme::Theme, is_cursor: bool, label: &'a str)
src/ui/selector.rs:220
↓ 2 callers
Function
paint_comment_box_bar
Inline comment-box "bar" overlay: for each tracked comment box that has a line range, draw a vertical bar at col 5 of the visible diff rows the commen
src/ui/diff_view.rs:739
↓ 2 callers
Function
paint_comment_box_right_border
Stamp the right-edge border glyph at the viewport's rightmost column for each comment-box line so the box closes flush with the panel width. For horiz
src/ui/diff_view.rs:654
↓ 2 callers
Function
paint_cursor_line_highlight
Paint the cursor-line background across visible logical lines, expanding each highlighted line to cover all of its wrapped visual rows. Shared by unif
src/ui/diff_view.rs:510
↓ 2 callers
Function
paint_file_header_fill
File-section header lines (the `═══ path/to/file [M] …══════` rows that separate files in the diff stream) emit a fixed trailing run of `═`. Fill any
src/ui/diff_view.rs:853
↓ 2 callers
Function
paint_section_highlight
Hunk headers (`@@ … @@`), gap expanders (`... ↓ expand (N) ...`), and hidden-line stubs (`... N lines hidden ...`) all read as structural section mark
src/ui/diff_view.rs:810
↓ 2 callers
Function
paint_unified_diff_rows_with
( frame: &mut Frame, inner: Rect, visible_lines_unscrolled: &[Line], row_heights: &[usize],
src/ui/diff_view.rs:531
↓ 2 callers
Function
paint_visual_selection_overlay
( frame: &mut Frame, inner: Rect, app: &App, sel: VisualSelection, theme: &Theme, )
src/ui/diff_view.rs:307
↓ 2 callers
Method
pane_geometry
(&self, inner: ratatui::layout::Rect, side: LineSide)
src/app/navigation.rs:476
↓ 2 callers
Function
parent_rev_or_empty
(workdir: &Path, commit_id: &str)
src/vcs/git/cli.rs:1058
↓ 2 callers
Function
parse_any_remote_url
Parse `url` as a forge remote repository. Tries GitLab first — its parser already filters to "gitlab" hosts, so trying it first won't claim GitHub En
src/forge/mod.rs:104
↓ 2 callers
Function
parse_batched_files
Parse the output of a batched `hg cat` / `jj file show` invocation whose template prefixed each file with `\n{BATCH_BOUNDARY}\n{path}\n` before emitti
src/vcs/mod.rs:105
↓ 2 callers
Function
parse_commit_message
Parse a full commit message into (summary, optional body). The summary is the first line; the body is everything after the first blank line, trimmed.
src/vcs/git/repository.rs:23
↓ 2 callers
Function
parse_commit_records
( output: &str, branch_tip_names: &HashMap<String, Vec<String>>, )
src/vcs/git/cli.rs:995
↓ 2 callers
Function
parse_description
Parse a jj description into (summary, optional body).
src/vcs/jj/mod.rs:23
↓ 2 callers
Function
parse_hg_description
Parse an hg description into (summary, optional body).
src/vcs/hg/mod.rs:21
↓ 2 callers
Function
parse_line_side
(side: &str)
src/review_cli.rs:311
↓ 2 callers
Function
pending_style
(theme: &Theme)
src/ui/styles.rs:45
↓ 2 callers
Function
populate_row_to_annotation
Populates `out` with the visual-row -> annotation-index map for the diff viewport and returns how many logical lines fit. Reuses the buffer's capacity
src/ui/diff_view.rs:267
↓ 2 callers
Function
pr_entry
(updated_at: DateTime<Utc>, number: u64, head_sha: &str)
src/persistence/manifest.rs:300
↓ 2 callers
Method
pr_filter_editing
(&self)
src/app/pr.rs:1191
↓ 2 callers
Method
prev_hunk
(&mut self)
src/app/navigation.rs:748
↓ 2 callers
Function
process_is_running
(pid: u32)
src/persistence/storage.rs:286
↓ 2 callers
Function
profile_path
()
src/profile.rs:80
↓ 2 callers
Function
push_single_line
Append a pasted payload into a single-line buffer, dropping embedded newlines so a multi-line paste doesn't smear across the prompt.
src/handler.rs:466
↓ 2 callers
Function
read_blob_with_repo
Read a git blob from a checkout at `repo_root` using `git show <sha>:<path>`. Returns `None` if the object is missing or the command fails for any rea
src/forge/github/gh.rs:89
↓ 2 callers
Function
read_blob_with_repo
Read a git blob from a checkout at `repo_root` using `git show <sha>:<path>`. Returns `None` if the object is missing or the command fails for any rea
src/forge/gitlab/glab.rs:86
↓ 2 callers
Function
read_file_content
( repo: &Repository, file_path: &Path, file_status: FileStatus, ref_commit: Option<&str>, )
src/vcs/git/context.rs:39
↓ 2 callers
Method
read_file_content
( &self, file_path: &Path, file_status: FileStatus, ref_commit: Option<&str>,
src/vcs/git/cli.rs:141
↓ 2 callers
Function
read_git_object
(workdir: &Path, spec: &str)
src/vcs/git/cli.rs:963
↓ 2 callers
Function
read_path_from_index
(repo: &Repository, index: &git2::Index, path: &Path)
src/vcs/git/diff.rs:265
↓ 2 callers
Function
rebuild_from_files
Walk every `.json` file under `reviews_dir` and invoke `extract` to build a `(slug, ManifestEntry)` pair. Returns the rebuilt manifest. Files that `ex
src/persistence/manifest.rs:220
↓ 2 callers
Method
ref_commit
Resolve the right `ContextProvider` for the current diff source. In PR mode (with a forge backend present), expansion goes through the forge; otherwis
src/app/gaps.rs:325
↓ 2 callers
Method
refetch_pr_threads
Re-fetch remote review threads for the currently open PR. Called from `:e` so users can pull the latest discussions without reopening the PR. No-op ou
src/app/pr.rs:1071
↓ 2 callers
Function
relative_path_for_slug
Compute the relative path of a session's JSON file under `reviews/`. Files live in a single flat `sessions/` directory; their name is the FNV-1a hash
src/persistence/storage.rs:758
↓ 2 callers
Method
reload_persisted_session_if_changed
(&mut self, force: bool)
src/app/session.rs:176
↓ 2 callers
Function
remote_urls
`repo_root`'s remote URLs, `origin` first, then every other remote.
src/forge/mod.rs:75
↓ 2 callers
Function
remove_session_at
Remove `path` and prune its manifest entry. The caller must already hold the reviews-dir lock and have loaded `session` from `path`.
src/persistence/storage.rs:168
↓ 2 callers
Function
renamed_old_path
Old (base-side) path for a renamed/copied file when it differs from the display path. `None` for unchanged paths so downstream consumers know to fall
src/forge/submit.rs:272
↓ 2 callers
Function
render_expander_line
Render an expander line with direction arrow
src/ui/diff_view.rs:165
↓ 2 callers
Function
render_header
(frame: &mut Frame, app: &App, area: Rect)
src/ui/status_bar.rs:57
↓ 2 callers
Function
render_hidden_lines
Render a "N lines hidden" informational line
src/ui/diff_view.rs:191
↓ 2 callers
Function
render_side_by_side_diff
(frame: &mut Frame, app: &mut App, area: Rect)
src/ui/diff_side_by_side.rs:171
↓ 2 callers
Function
render_submit_action_picker
Render the bare-`:submit` action picker. Lists the available review events plus a Cancel row; the user picks one with j/k + Enter (or Esc to cancel).
src/ui/submit_modals.rs:19
↓ 2 callers
Function
render_submit_confirm
Render the final confirmation modal before submit. Shows the counts and surface the stale-head warning when the open-time head and the latest known PR
src/ui/submit_modals.rs:124
↓ 2 callers
Function
render_submit_resolver
Render the modal listing comments the mapper could not place inline, with per-row toggle between "Move to summary" / "Omit". Centered overlay with a 7
src/ui/submit_modals.rs:61
↓ 2 callers
Method
replies
Iterator over reply comments (everything after the root).
src/forge/remote_comments.rs:136
↓ 2 callers
Function
resolve_appearance_arg_with_config
( cli_appearance: Option<AppearanceArg>, config_appearance: Option<&str>, )
src/theme/mod.rs:1824
↓ 2 callers
Function
resolve_revision_range
Resolve a Git revision expression into selected commits and diff endpoints. This preserves the distinction between commits selected for review metada
src/vcs/git/repository.rs:163
↓ 2 callers
Method
resolve_revision_range
(&self, revisions: &str)
src/vcs/git/cli.rs:309
↓ 2 callers
Method
review_content_hash
(&self)
src/model/diff_types.rs:77
↓ 2 callers
Method
root
The first comment is the thread root for display purposes.
src/forge/remote_comments.rs:131
↓ 2 callers
Function
roundtrip
(text: &str, byte: usize)
src/comment_vim.rs:160
↓ 2 callers
Function
run_command_output_with_stdin
Variant of `run_command_output` that pipes `stdin` bytes into the spawned child. Used by `gh api --input -` (and any future tools that want the same s
src/process.rs:79
↓ 2 callers
Method
run_comment_vim_command
Execute the typed `:` command: `w`/`wq`/`x` save, `q`/`q!` cancel.
src/app/comment_vim.rs:108
↓ 2 callers
Function
run_git_command_args
(workdir: &Path, args: I)
src/vcs/git/cli.rs:1151
↓ 2 callers
Function
sample_local_theme_body
(extra: &str)
src/theme/mod.rs:2379
↓ 2 callers
Function
sample_pr_diff_source
()
src/output/markdown.rs:1346
↓ 2 callers
Function
sample_tm_theme
()
src/theme/mod.rs:2355
↓ 2 callers
Function
save_active_sessions_unlocked
(reviews_dir: &Path, active: &ActiveSessionsFile)
src/persistence/storage.rs:321
↓ 2 callers
Function
save_session_in_dir
(session: &ReviewSession, reviews_dir: &Path)
src/persistence/storage.rs:62
↓ 2 callers
Method
scope
(&self)
src/forge/selector.rs:103
↓ 2 callers
Method
scroll_down
(&mut self, lines: usize)
src/app/navigation.rs:110
↓ 2 callers
Method
scroll_up
(&mut self, lines: usize)
src/app/navigation.rs:125
↓ 2 callers
Method
scroll_view_down
(&mut self, lines: usize)
src/app/navigation.rs:135
↓ 2 callers
Method
scroll_view_up
(&mut self, lines: usize)
src/app/navigation.rs:147
↓ 2 callers
Method
section_highlight_bg
Subtle row-tint for diff section markers (hunk headers, gap expanders, hidden-line stubs) — derived as a brightness shift from `panel_bg` so it adapts
src/theme/mod.rs:2325
↓ 2 callers
Function
send_keys
(child: pexpect.spawn, keys: str, delay: float)
scripts/demo/drive_demo.py:130
↓ 2 callers
Function
send_text
(child: pexpect.spawn, text: str, delay: float)
scripts/demo/drive_demo.py:124
↓ 2 callers
Function
session_path_in_dir
(session: &ReviewSession, reviews_dir: &Path)
src/persistence/storage.rs:115
↓ 2 callers
Method
set_comment_vim
Enable/disable vim editing at runtime (e.g. `:vim`); takes effect on the next comment session.
src/app/comment_vim.rs:158
↓ 2 callers
Function
setup_test_repo_with_binary
Create a test repo with a binary file.
src/vcs/jj/mod.rs:906
↓ 2 callers
Function
setup_test_repo_with_binary
Create a test repo with a binary file.
src/vcs/hg/mod.rs:990
↓ 2 callers
Function
setup_test_repo_with_commits
Create a test repo with multiple commits (no pending changes). Returns None if jj is not available.
src/vcs/jj/mod.rs:708
↓ 2 callers
Function
setup_test_repo_with_commits
Create a test repo with multiple commits (no pending changes). Returns None if hg is not available.
src/vcs/hg/mod.rs:709
↓ 2 callers
Function
show_comments
(session: &str, repo: &Path, out: &mut impl Write)
src/review_cli.rs:328
↓ 2 callers
Function
skip_decoration_forward
Walk `start` forward (capped at `max_line`) to the nearest non-decoration annotation so scroll and jump motions land on actionable content.
src/app/mod.rs:519
↓ 2 callers
Method
spawn_pr_initial_load
Spawn a background thread that fetches the initial PR list. The resulting `PrLoadEvent::Initial` is delivered through `pr_load_rx` and applied in the
src/app/pr.rs:664
↓ 2 callers
Method
spawn_pr_reload
Kick off `:e` asynchronously. Captures the cursor anchor, sets the reload state for the spinner, and spawns the network fetch on a background thread.
src/app/pr.rs:441
↓ 2 callers
Function
split_nul_paths
Parse a `\0`-separated NUL-byte stream of paths (the output of e.g. `git diff -z --name-only`) into a Vec<PathBuf>. Empty paths skipped.
src/vcs/git/cli.rs:472
↓ 2 callers
Function
stage_file
(repo: &Repository, path: &Path)
src/vcs/git/staging.rs:6
↓ 2 callers
Method
start_submit_with
Like `start_submit`, but when `skip_confirm` is `true` the flow bypasses `SubmitConfirm`. The action-picker path uses this because picking IS the conf
src/app/submit.rs:20
↓ 2 callers
Method
stat
Returns `(additions, deletions)` for this file.
src/model/diff_types.rs:190
↓ 2 callers
Function
strip_scheme
(value: &str)
src/forge/github/gh.rs:799
↓ 2 callers
Function
strip_scheme
(value: &str)
src/forge/gitlab/glab.rs:982
↓ 2 callers
Method
submit_head_is_stale
True iff the original review head and the latest known PR head disagree. PR 5 cannot trigger this (the open-time head equals `current_pr_head`), but t
src/app/submit.rs:245
↓ 2 callers
Method
submit_picker_cursor_down
Move the action-picker cursor down by one row, wrapping at the end.
src/app/submit.rs:157
↓ 2 callers
Method
submit_resolver_toggle
(&mut self)
src/app/submit.rs:214
↓ 2 callers
Function
summary_display_lines
Count the number of rendered lines a review summary occupies in the diff view's review-scope area. Layout must match `ui::comment_panel::format_remote
src/forge/remote_comments.rs:226
↓ 2 callers
Function
summary_from_entry
Build a [`SessionSummary`] from a manifest entry, resolving its absolute path and active state. Shared by the per-repo and `--all` listings.
src/review_store.rs:102
↓ 2 callers
Method
text_and_cursor
Extract the full buffer text and the byte-offset cursor.
src/comment_vim.rs:62
← previous
next →
601–700 of 2,753, ranked by callers