MCPcopy Create free account

hub / github.com/agavra/tuicr / functions

Functions2,753 in github.com/agavra/tuicr

↓ 2 callersFunctionmap_help_mode
(key: KeyEvent)
src/input/keybindings.rs:327
↓ 2 callersMethodmark_current_session_active_at
(&mut self, path: &Path)
src/app/session.rs:129
↓ 2 callersMethodmatches
(&self, slug: &str, entry: &ManifestEntry)
src/persistence/storage.rs:563
↓ 2 callersFunctionmode_style
(theme: &Theme)
src/ui/styles.rs:71
↓ 2 callersMethodnext_hunk
(&mut self)
src/app/navigation.rs:717
↓ 2 callersFunctionnormalize_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 callersFunctionnormalize_state
(state: &str)
src/forge/gitlab/models.rs:325
↓ 2 callersMethodon_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 callersMethodopened_pr_with_new_head_session
( &mut self, opened: crate::forge::pr_open::OpenedPullRequest, )
src/app/session.rs:563
↓ 2 callersFunctionoverflow_row
(theme: &crate::theme::Theme, is_cursor: bool, label: &'a str)
src/ui/selector.rs:220
↓ 2 callersFunctionpaint_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 callersFunctionpaint_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 callersFunctionpaint_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 callersFunctionpaint_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 callersFunctionpaint_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 callersFunctionpaint_unified_diff_rows_with
( frame: &mut Frame, inner: Rect, visible_lines_unscrolled: &[Line], row_heights: &[usize],
src/ui/diff_view.rs:531
↓ 2 callersFunctionpaint_visual_selection_overlay
( frame: &mut Frame, inner: Rect, app: &App, sel: VisualSelection, theme: &Theme, )
src/ui/diff_view.rs:307
↓ 2 callersMethodpane_geometry
(&self, inner: ratatui::layout::Rect, side: LineSide)
src/app/navigation.rs:476
↓ 2 callersFunctionparent_rev_or_empty
(workdir: &Path, commit_id: &str)
src/vcs/git/cli.rs:1058
↓ 2 callersFunctionparse_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 callersFunctionparse_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 callersFunctionparse_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 callersFunctionparse_commit_records
( output: &str, branch_tip_names: &HashMap<String, Vec<String>>, )
src/vcs/git/cli.rs:995
↓ 2 callersFunctionparse_description
Parse a jj description into (summary, optional body).
src/vcs/jj/mod.rs:23
↓ 2 callersFunctionparse_hg_description
Parse an hg description into (summary, optional body).
src/vcs/hg/mod.rs:21
↓ 2 callersFunctionparse_line_side
(side: &str)
src/review_cli.rs:311
↓ 2 callersFunctionpending_style
(theme: &Theme)
src/ui/styles.rs:45
↓ 2 callersFunctionpopulate_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 callersFunctionpr_entry
(updated_at: DateTime<Utc>, number: u64, head_sha: &str)
src/persistence/manifest.rs:300
↓ 2 callersMethodpr_filter_editing
(&self)
src/app/pr.rs:1191
↓ 2 callersMethodprev_hunk
(&mut self)
src/app/navigation.rs:748
↓ 2 callersFunctionprocess_is_running
(pid: u32)
src/persistence/storage.rs:286
↓ 2 callersFunctionprofile_path
()
src/profile.rs:80
↓ 2 callersFunctionpush_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 callersFunctionread_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 callersFunctionread_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 callersFunctionread_file_content
( repo: &Repository, file_path: &Path, file_status: FileStatus, ref_commit: Option<&str>, )
src/vcs/git/context.rs:39
↓ 2 callersMethodread_file_content
( &self, file_path: &Path, file_status: FileStatus, ref_commit: Option<&str>,
src/vcs/git/cli.rs:141
↓ 2 callersFunctionread_git_object
(workdir: &Path, spec: &str)
src/vcs/git/cli.rs:963
↓ 2 callersFunctionread_path_from_index
(repo: &Repository, index: &git2::Index, path: &Path)
src/vcs/git/diff.rs:265
↓ 2 callersFunctionrebuild_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 callersMethodref_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 callersMethodrefetch_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 callersFunctionrelative_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 callersMethodreload_persisted_session_if_changed
(&mut self, force: bool)
src/app/session.rs:176
↓ 2 callersFunctionremote_urls
`repo_root`'s remote URLs, `origin` first, then every other remote.
src/forge/mod.rs:75
↓ 2 callersFunctionremove_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 callersFunctionrenamed_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 callersFunctionrender_expander_line
Render an expander line with direction arrow
src/ui/diff_view.rs:165
↓ 2 callersFunctionrender_header
(frame: &mut Frame, app: &App, area: Rect)
src/ui/status_bar.rs:57
↓ 2 callersFunctionrender_hidden_lines
Render a "N lines hidden" informational line
src/ui/diff_view.rs:191
↓ 2 callersFunctionrender_side_by_side_diff
(frame: &mut Frame, app: &mut App, area: Rect)
src/ui/diff_side_by_side.rs:171
↓ 2 callersFunctionrender_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 callersFunctionrender_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 callersFunctionrender_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 callersMethodreplies
Iterator over reply comments (everything after the root).
src/forge/remote_comments.rs:136
↓ 2 callersFunctionresolve_appearance_arg_with_config
( cli_appearance: Option<AppearanceArg>, config_appearance: Option<&str>, )
src/theme/mod.rs:1824
↓ 2 callersFunctionresolve_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 callersMethodresolve_revision_range
(&self, revisions: &str)
src/vcs/git/cli.rs:309
↓ 2 callersMethodreview_content_hash
(&self)
src/model/diff_types.rs:77
↓ 2 callersMethodroot
The first comment is the thread root for display purposes.
src/forge/remote_comments.rs:131
↓ 2 callersFunctionroundtrip
(text: &str, byte: usize)
src/comment_vim.rs:160
↓ 2 callersFunctionrun_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 callersMethodrun_comment_vim_command
Execute the typed `:` command: `w`/`wq`/`x` save, `q`/`q!` cancel.
src/app/comment_vim.rs:108
↓ 2 callersFunctionrun_git_command_args
(workdir: &Path, args: I)
src/vcs/git/cli.rs:1151
↓ 2 callersFunctionsample_local_theme_body
(extra: &str)
src/theme/mod.rs:2379
↓ 2 callersFunctionsample_pr_diff_source
()
src/output/markdown.rs:1346
↓ 2 callersFunctionsample_tm_theme
()
src/theme/mod.rs:2355
↓ 2 callersFunctionsave_active_sessions_unlocked
(reviews_dir: &Path, active: &ActiveSessionsFile)
src/persistence/storage.rs:321
↓ 2 callersFunctionsave_session_in_dir
(session: &ReviewSession, reviews_dir: &Path)
src/persistence/storage.rs:62
↓ 2 callersMethodscope
(&self)
src/forge/selector.rs:103
↓ 2 callersMethodscroll_down
(&mut self, lines: usize)
src/app/navigation.rs:110
↓ 2 callersMethodscroll_up
(&mut self, lines: usize)
src/app/navigation.rs:125
↓ 2 callersMethodscroll_view_down
(&mut self, lines: usize)
src/app/navigation.rs:135
↓ 2 callersMethodscroll_view_up
(&mut self, lines: usize)
src/app/navigation.rs:147
↓ 2 callersMethodsection_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 callersFunctionsend_keys
(child: pexpect.spawn, keys: str, delay: float)
scripts/demo/drive_demo.py:130
↓ 2 callersFunctionsend_text
(child: pexpect.spawn, text: str, delay: float)
scripts/demo/drive_demo.py:124
↓ 2 callersFunctionsession_path_in_dir
(session: &ReviewSession, reviews_dir: &Path)
src/persistence/storage.rs:115
↓ 2 callersMethodset_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 callersFunctionsetup_test_repo_with_binary
Create a test repo with a binary file.
src/vcs/jj/mod.rs:906
↓ 2 callersFunctionsetup_test_repo_with_binary
Create a test repo with a binary file.
src/vcs/hg/mod.rs:990
↓ 2 callersFunctionsetup_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 callersFunctionsetup_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 callersFunctionshow_comments
(session: &str, repo: &Path, out: &mut impl Write)
src/review_cli.rs:328
↓ 2 callersFunctionskip_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 callersMethodspawn_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 callersMethodspawn_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 callersFunctionsplit_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 callersFunctionstage_file
(repo: &Repository, path: &Path)
src/vcs/git/staging.rs:6
↓ 2 callersMethodstart_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 callersMethodstat
Returns `(additions, deletions)` for this file.
src/model/diff_types.rs:190
↓ 2 callersFunctionstrip_scheme
(value: &str)
src/forge/github/gh.rs:799
↓ 2 callersFunctionstrip_scheme
(value: &str)
src/forge/gitlab/glab.rs:982
↓ 2 callersMethodsubmit_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 callersMethodsubmit_picker_cursor_down
Move the action-picker cursor down by one row, wrapping at the end.
src/app/submit.rs:157
↓ 2 callersMethodsubmit_resolver_toggle
(&mut self)
src/app/submit.rs:214
↓ 2 callersFunctionsummary_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 callersFunctionsummary_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 callersMethodtext_and_cursor
Extract the full buffer text and the byte-offset cursor.
src/comment_vim.rs:62
← previousnext →601–700 of 2,753, ranked by callers