SYMBOL INDEX (1308 symbols across 79 files) FILE: src/align.rs constant DELETION_COST (line 4) | const DELETION_COST: usize = 2; constant INSERTION_COST (line 5) | const INSERTION_COST: usize = 2; constant INITIAL_MISMATCH_PENALTY (line 7) | const INITIAL_MISMATCH_PENALTY: usize = 1; type Operation (line 10) | pub enum Operation { type Cell (line 21) | struct Cell { type Alignment (line 28) | pub struct Alignment<'a> { function new (line 37) | pub fn new(x: Vec<&'a str>, y: Vec<&'a str>) -> Self { function fill (line 55) | pub fn fill(&mut self) { function mismatch_cost (line 117) | fn mismatch_cost(&self, parent: usize, basic_cost: usize) -> usize { function operations (line 128) | pub fn operations(&self) -> Vec { function coalesced_operations (line 141) | pub fn coalesced_operations(&self) -> Vec<(Operation, usize)> { function index (line 146) | fn index(&self, i: usize, j: usize) -> usize { function run_length_encode (line 151) | fn run_length_encode(sequence: Vec) -> Vec<(T, usize)> function test_run_length_encode (line 186) | fn test_run_length_encode() { function test_0 (line 197) | fn test_0() { function test_0_nonascii (line 209) | fn test_0_nonascii() { function test_1 (line 221) | fn test_1() { function test_2 (line 243) | fn test_2() { function test_3 (line 265) | fn test_3() { function test_4 (line 282) | fn test_4() { function test_5 (line 300) | fn test_5() { function test_6 (line 318) | fn test_6() { type TestCase (line 338) | struct TestCase<'a> { function run (line 347) | pub fn run(&self) { function assert_string_distance_parts (line 352) | fn assert_string_distance_parts(&self) { function assert_string_levenshtein_distance (line 358) | fn assert_string_levenshtein_distance(&self) { function string_distance_parts (line 370) | fn string_distance_parts(x: &str, y: &str) -> (usize, usize) { function string_levenshtein_distance (line 378) | fn string_levenshtein_distance(x: &str, y: &str) -> usize { function operations (line 386) | fn operations<'a>(x: &'a str, y: &'a str) -> Vec { function distance_parts (line 395) | pub fn distance_parts(&self) -> (usize, usize) { function levenshtein_distance (line 407) | pub fn levenshtein_distance(&self) -> usize { function format_cell (line 412) | fn format_cell(&self, cell: &Cell) -> String { function print (line 423) | fn print(&self) { FILE: src/ansi/console_tests.rs function test_text_width (line 25) | fn test_text_width() { function test_truncate_str (line 36) | fn test_truncate_str() { function test_truncate_str_no_ansi (line 71) | fn test_truncate_str_no_ansi() { FILE: src/ansi/iterator.rs type AnsiElementIterator (line 6) | pub struct AnsiElementIterator<'a> { type Performer (line 28) | struct Performer { method csi_dispatch (line 124) | fn csi_dispatch(&mut self, params: &Params, intermediates: &[u8], igno... method print (line 146) | fn print(&mut self, c: char) { method execute (line 150) | fn execute(&mut self, byte: u8) { method hook (line 157) | fn hook(&mut self, _params: &Params, _intermediates: &[u8], _ignore: b... method put (line 159) | fn put(&mut self, _byte: u8) {} method unhook (line 161) | fn unhook(&mut self) {} method osc_dispatch (line 163) | fn osc_dispatch(&mut self, _params: &[&[u8]], _bell_terminated: bool) { method esc_dispatch (line 167) | fn esc_dispatch(&mut self, _intermediates: &[u8], _ignore: bool, _byte... type Element (line 38) | pub enum Element { method set_range (line 47) | fn set_range(&mut self, start: usize, end: usize) { function new (line 62) | pub fn new(s: &'a str) -> Self { function advance_vte (line 73) | fn advance_vte(&mut self, byte: u8) { type Item (line 83) | type Item = Element; method next (line 85) | fn next(&mut self) -> Option { function ansi_term_style_from_sgr_parameters (line 173) | fn ansi_term_style_from_sgr_parameters(params: &mut ParamsIter<'_>) -> a... function parse_sgr_color (line 267) | fn parse_sgr_color(params: &mut dyn Iterator) -> Option String { function measure_text_width (line 24) | pub fn measure_text_width(s: &str) -> usize { function truncate_str_impl (line 30) | fn truncate_str_impl<'a>( function truncate_str (line 95) | pub fn truncate_str<'a>(s: &'a str, display_width: usize, tail: &str) ->... function truncate_str_short (line 103) | pub fn truncate_str_short(s: &str, display_width: usize) -> Cow<'_, str> { function parse_style_sections (line 107) | pub fn parse_style_sections(s: &str) -> Vec<(ansi_term::Style, &str)> { function parse_first_style (line 121) | pub fn parse_first_style(s: &str) -> Option { function string_starts_with_ansi_style_sequence (line 128) | pub fn string_starts_with_ansi_style_sequence(s: &str) -> bool { function ansi_preserving_slice (line 138) | pub fn ansi_preserving_slice(s: &str, start: usize) -> String { function ansi_preserving_index (line 168) | pub fn ansi_preserving_index(s: &str, i: usize) -> Option { function ansi_strings_iterator (line 181) | fn ansi_strings_iterator(s: &str) -> impl Iterator { function strip_ansi_codes_from_strings_iterator (line 191) | fn strip_ansi_codes_from_strings_iterator<'a>( function explain_ansi (line 199) | pub fn explain_ansi(line: &str, colorful: bool) -> String { function test_strip_ansi_codes (line 229) | fn test_strip_ansi_codes() { function test_measure_text_width (line 237) | fn test_measure_text_width() { function test_strip_ansi_codes_osc_hyperlink (line 246) | fn test_strip_ansi_codes_osc_hyperlink() { function test_measure_text_width_osc_hyperlink (line 252) | fn test_measure_text_width_osc_hyperlink() { function test_measure_text_width_osc_hyperlink_non_ascii (line 258) | fn test_measure_text_width_osc_hyperlink_non_ascii() { function test_parse_first_style (line 264) | fn test_parse_first_style() { function test_string_starts_with_ansi_escape_sequence (line 275) | fn test_string_starts_with_ansi_escape_sequence() { function test_ansi_preserving_slice_and_index (line 285) | fn test_ansi_preserving_slice_and_index() { function test_truncate_str (line 325) | fn test_truncate_str() { function test_truncate_str_at_double_width_grapheme (line 334) | fn test_truncate_str_at_double_width_grapheme() { FILE: src/cli.rs constant TERM_FALLBACK_WIDTH (line 24) | const TERM_FALLBACK_WIDTH: usize = 79; type Opt (line 36) | pub struct Opt { method handle_help_and_version (line 1227) | fn handle_help_and_version(args: &[OsString]) -> Call { method from_args_and_git_config (line 1306) | pub fn from_args_and_git_config( method from_iter_and_git_config (line 1343) | pub fn from_iter_and_git_config( method from_clap_and_git_config (line 1361) | fn from_clap_and_git_config( method get_argument_and_option_names (line 1375) | pub fn get_argument_and_option_names() -> HashMap { method git_config (line 1393) | pub fn git_config(&self) -> Option<&GitConfig> { function get_after_long_help (line 997) | fn get_after_long_help(is_term: bool, no_indent: &str, no_wrap: &str) ->... type ComputedValues (line 1178) | pub struct ComputedValues { type Width (line 1192) | pub enum Width { type InspectRawLines (line 1199) | pub enum InspectRawLines { type DetectDarkLight (line 1206) | pub enum DetectDarkLight { type Call (line 1218) | pub enum Call { FILE: src/color.rs function parse_color (line 13) | pub fn parse_color(s: &str, true_color: bool, git_config: Option<&GitCon... function color_to_string (line 42) | pub fn color_to_string(color: Color) -> String { function ansi_16_color_name_to_number (line 96) | pub fn ansi_16_color_name_to_number(name: &str) -> Option { function ansi_16_color_number_to_name (line 100) | fn ansi_16_color_number_to_name(n: u8) -> Option<&'static str> { type ColorMode (line 112) | pub enum ColorMode { function get_minus_background_color_default (line 120) | pub fn get_minus_background_color_default(mode: ColorMode, is_true_color... function get_minus_emph_background_color_default (line 129) | pub fn get_minus_emph_background_color_default(mode: ColorMode, is_true_... function get_plus_background_color_default (line 138) | pub fn get_plus_background_color_default(mode: ColorMode, is_true_color:... function get_plus_emph_background_color_default (line 147) | pub fn get_plus_emph_background_color_default(mode: ColorMode, is_true_c... constant LIGHT_THEME_MINUS_COLOR (line 156) | const LIGHT_THEME_MINUS_COLOR: Color = Color::RGB(0xff, 0xe0, 0xe0); constant LIGHT_THEME_MINUS_COLOR_256 (line 158) | const LIGHT_THEME_MINUS_COLOR_256: Color = Color::Fixed(224); constant LIGHT_THEME_MINUS_EMPH_COLOR (line 160) | const LIGHT_THEME_MINUS_EMPH_COLOR: Color = Color::RGB(0xff, 0xc0, 0xc0); constant LIGHT_THEME_MINUS_EMPH_COLOR_256 (line 162) | const LIGHT_THEME_MINUS_EMPH_COLOR_256: Color = Color::Fixed(217); constant LIGHT_THEME_PLUS_COLOR (line 164) | const LIGHT_THEME_PLUS_COLOR: Color = Color::RGB(0xd0, 0xff, 0xd0); constant LIGHT_THEME_PLUS_COLOR_256 (line 166) | const LIGHT_THEME_PLUS_COLOR_256: Color = Color::Fixed(194); constant LIGHT_THEME_PLUS_EMPH_COLOR (line 168) | const LIGHT_THEME_PLUS_EMPH_COLOR: Color = Color::RGB(0xa0, 0xef, 0xa0); constant LIGHT_THEME_PLUS_EMPH_COLOR_256 (line 170) | const LIGHT_THEME_PLUS_EMPH_COLOR_256: Color = Color::Fixed(157); constant DARK_THEME_MINUS_COLOR (line 172) | const DARK_THEME_MINUS_COLOR: Color = Color::RGB(0x3f, 0x00, 0x01); constant DARK_THEME_MINUS_COLOR_256 (line 174) | const DARK_THEME_MINUS_COLOR_256: Color = Color::Fixed(52); constant DARK_THEME_MINUS_EMPH_COLOR (line 176) | const DARK_THEME_MINUS_EMPH_COLOR: Color = Color::RGB(0x90, 0x10, 0x11); constant DARK_THEME_MINUS_EMPH_COLOR_256 (line 178) | const DARK_THEME_MINUS_EMPH_COLOR_256: Color = Color::Fixed(124); constant DARK_THEME_PLUS_COLOR (line 180) | const DARK_THEME_PLUS_COLOR: Color = Color::RGB(0x00, 0x28, 0x00); constant DARK_THEME_PLUS_COLOR_256 (line 182) | const DARK_THEME_PLUS_COLOR_256: Color = Color::Fixed(22); constant DARK_THEME_PLUS_EMPH_COLOR (line 184) | const DARK_THEME_PLUS_EMPH_COLOR: Color = Color::RGB(0x00, 0x60, 0x00); constant DARK_THEME_PLUS_EMPH_COLOR_256 (line 186) | const DARK_THEME_PLUS_EMPH_COLOR_256: Color = Color::Fixed(28); constant LIGHT_THEME_BLAME_PALETTE (line 190) | pub const LIGHT_THEME_BLAME_PALETTE: &[&str] = &["#FFFFFF", "#DDDDDD", "... constant DARK_THEME_BLAME_PALETTE (line 192) | pub const DARK_THEME_BLAME_PALETTE: &[&str] = &["#000000", "#222222", "#... FILE: src/colors.rs function color_groups (line 1) | pub fn color_groups() -> Vec<(&'static str, Vec<(&'static str, &'static ... FILE: src/config.rs constant INLINE_SYMBOL_WIDTH_1 (line 32) | pub const INLINE_SYMBOL_WIDTH_1: usize = 1; constant SYNTAX_FALLBACK_LANG (line 35) | pub const SYNTAX_FALLBACK_LANG: &str = "txt"; type Config (line 38) | pub struct Config { method get_style (line 168) | pub fn get_style(&self, state: &State) -> &Style { method git_config (line 182) | pub fn git_config(&self) -> Option<&GitConfig> { method from (line 188) | fn from(opt: cli::Opt) -> Self { type GrepType (line 143) | pub enum GrepType { type HunkHeaderIncludeFilePath (line 149) | pub enum HunkHeaderIncludeFilePath { type HunkHeaderIncludeLineNumber (line 155) | pub enum HunkHeaderIncludeLineNumber { type HunkHeaderIncludeCodeFragment (line 161) | pub enum HunkHeaderIncludeCodeFragment { function make_blame_palette (line 443) | fn make_blame_palette(blame_palette: Option, mode: ColorMode) ->... function user_supplied_option (line 461) | pub fn user_supplied_option(option: &str, arg_matches: &clap::ArgMatches... function delta_unreachable (line 465) | pub fn delta_unreachable(message: &str) -> ! { constant HEADER_LEN (line 474) | pub const HEADER_LEN: usize = 7; function test_get_computed_values_from_config (line 484) | fn test_get_computed_values_from_config() { FILE: src/delta.rs type State (line 20) | pub enum State { type DiffType (line 41) | pub enum DiffType { method n_parents (line 61) | pub fn n_parents(&self) -> usize { type MergeParents (line 48) | pub enum MergeParents { type InMergeConflict (line 55) | pub enum InMergeConflict { type Source (line 74) | pub enum Source { type StateMachine (line 92) | pub struct StateMachine<'a> { function delta (line 117) | pub fn delta(lines: ByteLines, writer: &mut dyn Write, config: &Co... function new (line 125) | pub fn new(writer: &'a mut dyn Write, config: &'a Config) -> Self { function consume (line 146) | fn consume(&mut self, mut lines: ByteLines) -> std::io::Result<()> function ingest_line (line 192) | fn ingest_line(&mut self, raw_line_bytes: &[u8]) { function ingest_line_utf8 (line 207) | fn ingest_line_utf8(&mut self, raw_line: String) { function should_skip_line (line 239) | pub fn should_skip_line(&self) -> bool { function emit_line_unchanged (line 246) | pub fn emit_line_unchanged(&mut self) -> std::io::Result { function should_handle (line 260) | pub fn should_handle(&self) -> bool { function format_raw_line (line 268) | pub fn format_raw_line<'a>(line: &'a str, config: &Config) -> Cow<'a, st... function detect_source (line 281) | fn detect_source(line: &str) -> Source { FILE: src/edits.rs function infer_edits (line 24) | pub fn infer_edits<'a, EditOperation>( function get_contents_before_trailing_whitespace (line 110) | fn get_contents_before_trailing_whitespace(line: &str) -> Option<&str> { function make_lines_have_homolog (line 121) | pub fn make_lines_have_homolog( function tokenize (line 140) | fn tokenize<'a>(line: &'a str, regex: &Regex) -> Vec<&'a str> { function annotate (line 174) | fn annotate<'a, Annotation>( function compute_distance (line 283) | fn compute_distance(d_numer: f64, d_denom: f64) -> f64 { type EditOperation (line 303) | enum EditOperation { type Annotation (line 310) | type Annotation<'a> = (EditOperation, &'a str); type AnnotatedLine (line 311) | type AnnotatedLine<'a> = Vec>; type AnnotatedLines (line 312) | type AnnotatedLines<'a> = Vec>; type Edits (line 313) | type Edits<'a> = (AnnotatedLines<'a>, AnnotatedLines<'a>); function test_tokenize_0 (line 318) | fn test_tokenize_0() { function test_tokenize_1 (line 329) | fn test_tokenize_1() { function test_tokenize_2 (line 334) | fn test_tokenize_2() { function test_tokenize_3 (line 354) | fn test_tokenize_3() { function test_tokenize_4 (line 378) | fn test_tokenize_4() { function test_tokenize_5 (line 403) | fn test_tokenize_5() { function test_tokenize_6 (line 447) | fn test_tokenize_6() { function assert_tokenize (line 496) | fn assert_tokenize(text: &str, expected_tokens: &[&str]) { function test_infer_edits_1 (line 506) | fn test_infer_edits_1() { function test_infer_edits_1_2 (line 518) | fn test_infer_edits_1_2() { function test_infer_edits_2 (line 534) | fn test_infer_edits_2() { function test_infer_edits_3 (line 546) | fn test_infer_edits_3() { function test_infer_edits_4 (line 566) | fn test_infer_edits_4() { function test_infer_edits_5 (line 591) | fn test_infer_edits_5() { function test_infer_edits_6 (line 622) | fn test_infer_edits_6() { function test_infer_edits_7 (line 643) | fn test_infer_edits_7() { function test_infer_edits_8 (line 664) | fn test_infer_edits_8() { function test_infer_edits_9 (line 688) | fn test_infer_edits_9() { function test_infer_edits_10 (line 720) | fn test_infer_edits_10() { function test_infer_edits_11 (line 747) | fn test_infer_edits_11() { function test_infer_edits_12 (line 763) | fn test_infer_edits_12() { function test_infer_edits_13 (line 783) | fn test_infer_edits_13() { function test_infer_edits_14 (line 811) | fn test_infer_edits_14() { function test_infer_edits_15 (line 852) | fn test_infer_edits_15() { function test_infer_edits_16 (line 872) | fn test_infer_edits_16() { function assert_edits (line 898) | fn assert_edits( function assert_no_edits (line 925) | fn assert_no_edits(minus_lines: Vec<&str>, plus_lines: Vec<&str>, max_li... function assert_paired_edits (line 935) | fn assert_paired_edits(minus_lines: Vec<&str>, plus_lines: Vec<&str>, ex... function assert_consistent_pairs (line 940) | fn assert_consistent_pairs(edits: &Edits) { function summarize_annotated_line (line 968) | fn summarize_annotated_line(sections: &AnnotatedLine) -> (usize, usize) { function compare_annotated_lines (line 984) | fn compare_annotated_lines(actual: Edits, expected: Edits) { function print_annotated_lines (line 999) | fn print_annotated_lines(annotated_lines: AnnotatedLines) { function print_annotated_line (line 1006) | fn print_annotated_line(annotated_line: AnnotatedLine) { function fmt_edit (line 1014) | fn fmt_edit(edit: EditOperation) -> &'static str { function is_edit (line 1023) | fn is_edit(edit: &EditOperation) -> bool { FILE: src/env.rs constant COLORTERM (line 3) | const COLORTERM: &str = "COLORTERM"; constant BAT_THEME (line 4) | const BAT_THEME: &str = "BAT_THEME"; constant GIT_CONFIG_PARAMETERS (line 5) | const GIT_CONFIG_PARAMETERS: &str = "GIT_CONFIG_PARAMETERS"; constant GIT_PREFIX (line 6) | const GIT_PREFIX: &str = "GIT_PREFIX"; constant DELTA_FEATURES (line 7) | const DELTA_FEATURES: &str = "DELTA_FEATURES"; constant DELTA_NAVIGATE (line 8) | const DELTA_NAVIGATE: &str = "DELTA_NAVIGATE"; constant DELTA_EXPERIMENTAL_MAX_LINE_DISTANCE_FOR_NAIVELY_PAIRED_LINES (line 9) | const DELTA_EXPERIMENTAL_MAX_LINE_DISTANCE_FOR_NAIVELY_PAIRED_LINES: &str = constant DELTA_PAGER (line 11) | const DELTA_PAGER: &str = "DELTA_PAGER"; type DeltaEnv (line 14) | pub struct DeltaEnv { method init (line 29) | pub fn init() -> Self { function hostname (line 65) | fn hostname() -> Option { function test_env_parsing (line 81) | fn test_env_parsing() { function test_env_parsing_with_pager_set_to_bat (line 92) | fn test_env_parsing_with_pager_set_to_bat() { function test_env_parsing_with_pager_set_to_more (line 105) | fn test_env_parsing_with_pager_set_to_more() { function test_env_parsing_with_pager_set_to_most (line 113) | fn test_env_parsing_with_pager_set_to_most() { FILE: src/features/color_only.rs function make_feature (line 7) | pub fn make_feature() -> Vec<(String, OptionValueFunction)> { FILE: src/features/diff_highlight.rs function make_feature (line 4) | pub fn make_feature() -> Vec<(String, OptionValueFunction)> { function _make_feature (line 8) | pub fn _make_feature(bold: bool) -> Vec<(String, OptionValueFunction)> { function test_diff_highlight_defaults (line 65) | fn test_diff_highlight_defaults() { function test_diff_highlight_respects_gitconfig (line 81) | fn test_diff_highlight_respects_gitconfig() { FILE: src/features/diff_so_fancy.rs function make_feature (line 4) | pub fn make_feature() -> Vec<(String, OptionValueFunction)> { function test_diff_so_fancy_defaults (line 54) | fn test_diff_so_fancy_defaults() { function test_diff_so_fancy_respects_git_config (line 72) | fn test_diff_so_fancy_respects_git_config() { function test_diff_so_fancy_obeys_feature_precedence_rules (line 101) | fn test_diff_so_fancy_obeys_feature_precedence_rules() { FILE: src/features/hyperlinks.rs function make_feature (line 13) | pub fn make_feature() -> Vec<(String, OptionValueFunction)> { function format_commit_line_with_osc8_commit_hyperlink (line 31) | pub fn format_commit_line_with_osc8_commit_hyperlink<'a>( function format_osc8_file_hyperlink (line 87) | pub fn format_osc8_file_hyperlink<'a, P>( function format_osc8_hyperlink (line 109) | fn format_osc8_hyperlink(url: &str, text: &str) -> String { function test_file_hyperlink_line_number_defaults_to_one (line 135) | fn test_file_hyperlink_line_number_defaults_to_one() { function test_formatted_hyperlinks (line 155) | fn test_formatted_hyperlinks() { function test_hyperlinks_to_repo (line 203) | fn test_hyperlinks_to_repo() { function test_paths_and_hyperlinks_user_in_repo_root_dir (line 229) | fn test_paths_and_hyperlinks_user_in_repo_root_dir() { function test_paths_and_hyperlinks_user_in_subdir_file_in_same_subdir (line 258) | fn test_paths_and_hyperlinks_user_in_subdir_file_in_same_subdir() { function test_paths_and_hyperlinks_user_in_subdir_file_in_different_subdir (line 313) | fn test_paths_and_hyperlinks_user_in_subdir_file_in_different_subdir() { function test_paths_and_hyperlinks_git_grep_user_in_root (line 354) | fn test_paths_and_hyperlinks_git_grep_user_in_root() { function test_paths_and_hyperlinks_grep_user_in_subdir_file_in_same_subdir (line 372) | fn test_paths_and_hyperlinks_grep_user_in_subdir_file_in_same_subdir() { function _run_test_grep_user_in_subdir_file_in_same_subdir (line 377) | fn _run_test_grep_user_in_subdir_file_in_same_subdir(calling_cmd: Option... constant GIT_DIFF_OUTPUT (line 393) | const GIT_DIFF_OUTPUT: &str = r#" constant GIT_GREP_OUTPUT (line 403) | const GIT_GREP_OUTPUT: &str = "\ type FilePathsTestCase (line 407) | struct FilePathsTestCase<'a> { type GitDiffRelative (line 424) | enum GitDiffRelative { type CallingProcess (line 430) | enum CallingProcess { type InputType (line 437) | enum InputType { function get_args (line 443) | pub fn get_args(&self) -> Vec { function calling_process (line 477) | pub fn calling_process(&self) -> CallingProcess { function path_in_git_output (line 495) | pub fn path_in_git_output(&self) -> String { function path_in_grep_output (line 515) | pub fn path_in_grep_output(&self) -> String { function expected_hyperlink_path (line 550) | pub fn expected_hyperlink_path(&self) -> PathBuf { function run_test (line 556) | fn run_test(test_case: FilePathsTestCase) { FILE: src/features/line_numbers.rs function make_feature (line 18) | pub fn make_feature() -> Vec<(String, OptionValueFunction)> { function linenumbers_and_styles (line 68) | pub fn linenumbers_and_styles<'a>( function format_and_paint_line_numbers (line 108) | pub fn format_and_paint_line_numbers<'a>( type LineNumbersData (line 152) | pub struct LineNumbersData<'a> { type SideBySideLineWidth (line 159) | pub type SideBySideLineWidth = MinusPlus; function from_format_strings (line 164) | pub fn from_format_strings( function initialize_hunk (line 187) | pub fn initialize_hunk(&mut self, line_numbers: &[(usize, usize)], plus_... function empty_for_sbs (line 198) | pub fn empty_for_sbs(use_full_width: ansifill::UseFullPanelWidth) -> Lin... function formatted_width (line 216) | pub fn formatted_width(&self) -> SideBySideLineWidth { function format_and_paint_line_number_field (line 244) | fn format_and_paint_line_number_field<'a>( function format_line_number (line 300) | fn format_line_number( function parse_line_number_format_with_default_regex (line 333) | pub fn parse_line_number_format_with_default_regex( function test_line_number_format_regex_1 (line 340) | fn test_line_number_format_regex_1() { function test_line_number_format_regex_2 (line 352) | fn test_line_number_format_regex_2() { function test_line_number_format_regex_3 (line 366) | fn test_line_number_format_regex_3() { function test_line_number_format_regex_4 (line 381) | fn test_line_number_format_regex_4() { function test_line_number_format_regex_5 (line 395) | fn test_line_number_format_regex_5() { function test_line_number_format_regex_6 (line 413) | fn test_line_number_format_regex_6() { function test_line_number_format_regex_7 (line 444) | fn test_line_number_format_regex_7() { function test_line_number_format_odd_width_one (line 462) | fn test_line_number_format_odd_width_one() { function test_line_number_format_odd_width_two (line 480) | fn test_line_number_format_odd_width_two() { function test_line_number_format_odd_width_none (line 514) | fn test_line_number_format_odd_width_none() { function test_line_number_format_long (line 532) | fn test_line_number_format_long() { function test_line_number_placeholder_width_one (line 552) | fn test_line_number_placeholder_width_one() { function test_line_number_placeholder_width_two (line 576) | fn test_line_number_placeholder_width_two() { function test_line_numbers_data (line 591) | fn test_line_numbers_data() { function _get_capture (line 624) | fn _get_capture<'a>(i: usize, j: usize, caps: &'a [Captures]) -> &'a str { function test_two_minus_lines (line 629) | fn test_two_minus_lines() { function test_two_plus_lines (line 655) | fn test_two_plus_lines() { function test_one_minus_one_plus_line (line 681) | fn test_one_minus_one_plus_line() { function test_repeated_placeholder (line 706) | fn test_repeated_placeholder() { function test_five_digit_line_number (line 731) | fn test_five_digit_line_number() { function test_unequal_digit_line_number (line 742) | fn test_unequal_digit_line_number() { function test_color_only (line 753) | fn test_color_only() { function test_hunk_header_style_is_omit (line 763) | fn test_hunk_header_style_is_omit() { function test_line_numbers_continue_correctly (line 778) | fn test_line_numbers_continue_correctly() { function test_line_numbers_continue_correctly_after_wrapping (line 790) | fn test_line_numbers_continue_correctly_after_wrapping() { constant TWO_MINUS_LINES_DIFF (line 869) | pub const TWO_MINUS_LINES_DIFF: &str = "\ constant TWO_PLUS_LINES_DIFF (line 879) | pub const TWO_PLUS_LINES_DIFF: &str = "\ constant ONE_MINUS_ONE_PLUS_LINE_DIFF (line 890) | pub const ONE_MINUS_ONE_PLUS_LINE_DIFF: &str = "\ constant TWO_LINE_DIFFS (line 901) | const TWO_LINE_DIFFS: &str = "\ constant FIVE_DIGIT_LINE_NUMBER_DIFF (line 916) | const FIVE_DIGIT_LINE_NUMBER_DIFF: &str = "\ constant UNEQUAL_DIGIT_DIFF (line 927) | const UNEQUAL_DIGIT_DIFF: &str = "\ constant DIFF_PLUS_MINUS_WITH_1_CONTEXT_DIFF (line 938) | const DIFF_PLUS_MINUS_WITH_1_CONTEXT_DIFF: &str = "\ constant DIFF_WITH_LONGER_MINUS_1_CONTEXT (line 947) | const DIFF_WITH_LONGER_MINUS_1_CONTEXT: &str = "\ constant DIFF_WITH_LONGER_PLUS_1_CONTEXT (line 956) | const DIFF_WITH_LONGER_PLUS_1_CONTEXT: &str = "\ constant DIFF_MISMATCH_LONGER_MINUS_1_CONTEXT (line 965) | const DIFF_MISMATCH_LONGER_MINUS_1_CONTEXT: &str = "\ constant DIFF_MISMATCH_LONGER_PLUS_1_CONTEXT (line 974) | const DIFF_MISMATCH_LONGER_PLUS_1_CONTEXT: &str = "\ constant TWO_MINUS_LINES_UNICODE_DIFF (line 983) | pub const TWO_MINUS_LINES_UNICODE_DIFF: &str = "\ FILE: src/features/mod.rs type BuiltinFeature (line 20) | pub type BuiltinFeature = HashMap; type OptionValueFunction (line 22) | type OptionValueFunction = Box) -> ... function make_builtin_features (line 27) | pub fn make_builtin_features() -> HashMap { function test_builtin_features_have_flags_and_these_set_features (line 102) | fn test_builtin_features_have_flags_and_these_set_features() { function test_builtin_feature_from_gitconfig (line 119) | fn test_builtin_feature_from_gitconfig() { function test_features_on_command_line_replace_features_in_gitconfig (line 141) | fn test_features_on_command_line_replace_features_in_gitconfig() { function test_feature_flag_on_command_line_does_not_replace_features_in_gitconfig (line 174) | fn test_feature_flag_on_command_line_does_not_replace_features_in_gitcon... function test_recursive_feature_gathering_1 (line 196) | fn test_recursive_feature_gathering_1() { function test_recursive_feature_gathering_2 (line 226) | fn test_recursive_feature_gathering_2() { function test_main_section (line 255) | fn test_main_section() { function test_feature (line 302) | fn test_feature() { function test_main_section_overrides_feature (line 325) | fn test_main_section_overrides_feature() { function test_multiple_features (line 360) | fn test_multiple_features() { function test_invalid_features (line 397) | fn test_invalid_features() { function test_whitespace_error_style (line 455) | fn test_whitespace_error_style() { FILE: src/features/navigate.rs function make_feature (line 9) | pub fn make_feature() -> Vec<(String, OptionValueFunction)> { function make_navigate_regex (line 33) | pub fn make_navigate_regex( function copy_less_hist_file_and_append_navigate_regex (line 71) | pub fn copy_less_hist_file_and_append_navigate_regex( function get_delta_less_hist_file (line 94) | fn get_delta_less_hist_file() -> std::io::Result { function get_delta_less_hist_file (line 104) | fn get_delta_less_hist_file() -> std::io::Result { function get_less_hist_file (line 111) | fn get_less_hist_file() -> Option { function test_get_less_hist_file (line 170) | fn test_get_less_hist_file() { function test_navigate_with_overridden_key_in_main_section (line 176) | fn test_navigate_with_overridden_key_in_main_section() { function test_navigate_with_overridden_key_in_custom_navigate_section (line 221) | fn test_navigate_with_overridden_key_in_custom_navigate_section() { function test_navigate_activated_by_custom_feature (line 260) | fn test_navigate_activated_by_custom_feature() { FILE: src/features/raw.rs function make_feature (line 3) | pub fn make_feature() -> Vec<(String, OptionValueFunction)> { FILE: src/features/side_by_side.rs function make_feature (line 17) | pub fn make_feature() -> Vec<(String, OptionValueFunction)> { type Panel (line 40) | pub struct Panel { type LeftRight (line 44) | pub type LeftRight = MinusPlus; type SideBySideData (line 46) | pub type SideBySideData = LeftRight; method new_sbs (line 50) | pub fn new_sbs(decorations_width: &cli::Width, available_terminal_widt... function available_line_width (line 59) | pub fn available_line_width( function line_is_too_long (line 77) | pub fn line_is_too_long(line: &str, line_width: usize) -> bool { function has_long_lines (line 87) | pub fn has_long_lines( function paint_minus_and_plus_lines_side_by_side (line 110) | pub fn paint_minus_and_plus_lines_side_by_side( function paint_zero_lines_side_by_side (line 225) | pub fn paint_zero_lines_side_by_side<'a>( function paint_left_panel_minus_line (line 280) | fn paint_left_panel_minus_line<'a>( function paint_right_panel_plus_line (line 315) | fn paint_right_panel_plus_line<'a>( function get_right_fill_style_for_panel (line 351) | fn get_right_fill_style_for_panel( function paint_minus_or_plus_panel_line (line 411) | fn paint_minus_or_plus_panel_line<'a>( function pad_panel_line_to_width (line 471) | fn pad_panel_line_to_width( constant ODD_PAD_CHAR (line 541) | pub const ODD_PAD_CHAR: char = ' '; type UseFullPanelWidth (line 558) | pub struct UseFullPanelWidth(pub bool); method new (line 560) | pub fn new(config: &Config) -> Self { method sbs_odd_fix (line 566) | pub fn sbs_odd_fix( method pad_width (line 577) | pub fn pad_width(&self) -> bool { method is_odd_with_ansi (line 580) | fn is_odd_with_ansi(width: &crate::cli::Width, method: &BgFillMethod) ... method adapt_sbs_data (line 584) | fn adapt_sbs_data(mut sbs_data: SideBySideData) -> SideBySideData { function test_two_fitting_minus_lines (line 599) | fn test_two_fitting_minus_lines() { function test_two_minus_lines_truncated (line 612) | fn test_two_minus_lines_truncated() { function test_two_plus_lines (line 631) | fn test_two_plus_lines() { function test_two_plus_lines_spaces_and_ansi (line 647) | fn test_two_plus_lines_spaces_and_ansi() { function test_two_plus_lines_truncated (line 674) | fn test_two_plus_lines_truncated() { function test_two_plus_lines_exact_fit (line 693) | fn test_two_plus_lines_exact_fit() { function test_one_minus_one_plus_line (line 705) | fn test_one_minus_one_plus_line() { function test_two_minus_lines_unicode_truncated (line 721) | fn test_two_minus_lines_unicode_truncated() { FILE: src/format.rs type Placeholder (line 10) | pub enum Placeholder<'a> { type Error (line 17) | type Error = (); function try_from (line 18) | fn try_from(from: Option<&'a str>) -> Result { type Align (line 29) | pub enum Align { type Error (line 36) | type Error = (); method try_from (line 37) | fn try_from(from: Option<&str>) -> Result { type FormatStringPlaceholderDataAnyPlaceholder (line 54) | pub struct FormatStringPlaceholderDataAnyPlaceholder { method default (line 67) | fn default() -> Self { function only_string (line 83) | pub fn only_string(s: &str) -> Self { type FormatStringPlaceholderData (line 92) | pub type FormatStringPlaceholderData<'a> = type FormatStringSimple (line 95) | pub type FormatStringSimple = FormatStringPlaceholderDataAnyPlaceholder<... function width (line 98) | pub fn width(&self, hunk_max_line_number_width: usize) -> (usize, usize) { function into_simple (line 112) | pub fn into_simple(self) -> FormatStringSimple { type FormatStringData (line 127) | pub type FormatStringData<'a> = Vec>; function make_placeholder_regex (line 129) | pub fn make_placeholder_regex(labels: &[&str]) -> Regex { function parse_line_number_format (line 156) | pub fn parse_line_number_format<'a>( type CenterRightNumbers (line 223) | pub trait CenterRightNumbers { method center_right_space (line 233) | fn center_right_space(&self, alignment: Align, width: usize) -> &'stat... method center_right_space (line 237) | fn center_right_space(&self, _alignment: Align, _width: usize) -> &'st... method center_right_space (line 244) | fn center_right_space(&self, alignment: Align, width: usize) -> &'stat... method center_right_space (line 250) | fn center_right_space(&self, alignment: Align, width: usize) -> &'stat... method center_right_space (line 280) | fn center_right_space(&self, alignment: Align, width: usize) -> &'stat... function log10_plus_1 (line 256) | pub fn log10_plus_1(mut n: usize) -> usize { function pad (line 296) | pub fn pad( function test_log10_plus_1 (line 326) | fn test_log10_plus_1() { function test_center_right_space_trait (line 344) | fn test_center_right_space_trait() { function test_pad_center_align (line 352) | fn test_pad_center_align() { function test_placeholder_with_notype (line 370) | fn test_placeholder_with_notype() { function test_placeholder_with_only_type_dash_number (line 384) | fn test_placeholder_with_only_type_dash_number() { function test_placeholder_with_empty_formatting (line 397) | fn test_placeholder_with_empty_formatting() { function test_placeholder_with_type_and_more (line 409) | fn test_placeholder_with_type_and_more() { function test_placeholder_regex (line 443) | fn test_placeholder_regex() { function test_placeholder_regex_empty_placeholder (line 462) | fn test_placeholder_regex_empty_placeholder() { function test_format_string_simple (line 480) | fn test_format_string_simple() { function test_line_number_format_only_string (line 519) | fn test_line_number_format_only_string() { function test_parse_line_number_format_not_empty (line 525) | fn test_parse_line_number_format_not_empty() { FILE: src/git_config/mod.rs type GitConfig (line 13) | pub struct GitConfig { method try_create (line 42) | pub fn try_create(env: &DeltaEnv) -> Option { method try_create (line 71) | pub fn try_create(_env: &DeltaEnv) -> Option { method for_testing (line 77) | pub fn for_testing() -> Option { method from_path (line 88) | pub fn from_path(env: &DeltaEnv, path: &Path, honor_env_var: bool) -> ... method get (line 117) | pub fn get(&self, key: &str) -> Option method get_remote_url_impl (line 129) | fn get_remote_url_impl(&self) -> Option { method get_remote_url_impl (line 134) | fn get_remote_url_impl(&self) -> Option { method get_remote_url (line 144) | pub fn get_remote_url(&self) -> &Option { method for_each (line 148) | pub fn for_each(&self, regex: &str, mut f: F) method clone (line 26) | fn clone(&self) -> Self { function parse_config_from_env_var (line 161) | fn parse_config_from_env_var(env: &DeltaEnv) -> HashMap { function parse_config_from_env_var_value (line 182) | fn parse_config_from_env_var_value(s: &str) -> HashMap { type GitConfigGet (line 205) | pub trait GitConfigGet { method git_config_get (line 206) | fn git_config_get(key: &str, git_config: &GitConfig) -> Option method git_config_get (line 212) | fn git_config_get(key: &str, git_config: &GitConfig) -> Option { method git_config_get (line 221) | fn git_config_get(key: &str, git_config: &GitConfig) -> Option { method git_config_get (line 233) | fn git_config_get(key: &str, git_config: &GitConfig) -> Option { method git_config_get (line 243) | fn git_config_get(key: &str, git_config: &GitConfig) -> Option { method git_config_get (line 257) | fn git_config_get(key: &str, git_config: &GitConfig) -> Option { function test_parse_config_from_env_var_value (line 276) | fn test_parse_config_from_env_var_value() { FILE: src/git_config/remote.rs type GitRemoteRepo (line 10) | pub enum GitRemoteRepo { method format_commit_url (line 18) | pub fn format_commit_url(&self, commit: &str) -> String { method for_testing (line 36) | pub fn for_testing() -> Option { type Err (line 103) | type Err = Error; method from_str (line 104) | fn from_str(s: &str) -> Result { function test_parse_github_urls (line 149) | fn test_parse_github_urls() { function test_format_github_commit_link (line 171) | fn test_format_github_commit_link() { function test_parse_gitlab_urls (line 183) | fn test_parse_gitlab_urls() { function test_format_gitlab_commit_link (line 216) | fn test_format_gitlab_commit_link() { function test_parse_sourcehut_urls (line 228) | fn test_parse_sourcehut_urls() { function test_format_sourcehut_commit_link (line 247) | fn test_format_sourcehut_commit_link() { function test_parse_codeberg_urls (line 259) | fn test_parse_codeberg_urls() { function test_format_codeberg_commit_link (line 281) | fn test_format_codeberg_commit_link() { FILE: src/handlers/blame.rs type BlameLineNumbers (line 20) | pub enum BlameLineNumbers { function handle_blame_line (line 31) | pub fn handle_blame_line(&mut self) -> std::io::Result { function get_filename (line 96) | fn get_filename(&self) -> Option { function blame_metadata_style (line 103) | fn blame_metadata_style( function get_color (line 135) | fn get_color(&self, this_key: &str, previous_key: Option<&str>, is_repea... function get_next_color (line 178) | fn get_next_color(&self, other_than_color: Option<&str>) -> String { type BlameLine (line 191) | pub struct BlameLine<'a> { function parse_git_blame_line (line 233) | pub fn parse_git_blame_line<'a>(line: &'a str, timestamp_format: &str) -... function format_blame_metadata (line 261) | pub fn format_blame_metadata( function format_blame_line_number (line 303) | pub fn format_blame_line_number( function parse_blame_line_numbers (line 333) | pub fn parse_blame_line_numbers(arg: &str) -> BlameLineNumbers { function test_blame_line_regex (line 393) | fn test_blame_line_regex() { function test_blame_line_with_parens_in_name (line 406) | fn test_blame_line_with_parens_in_name() { function test_format_blame_metadata_with_default_timestamp_output_format (line 414) | fn test_format_blame_metadata_with_default_timestamp_output_format() { function test_format_blame_metadata_with_custom_timestamp_output_format (line 424) | fn test_format_blame_metadata_with_custom_timestamp_output_format() { function test_format_blame_metadata_with_accent_in_name (line 435) | fn test_format_blame_metadata_with_accent_in_name() { function test_color_assignment (line 455) | fn test_color_assignment() { function hashmap_items (line 536) | fn hashmap_items(hashmap: &HashMap) -> Vec<(&str, &str)> { function make_blame_line_with_time (line 544) | fn make_blame_line_with_time(timestamp: &str) -> BlameLine<'_> { function make_format_data_with_placeholder (line 555) | fn make_format_data_with_placeholder( function make_blame_line_with_author (line 564) | fn make_blame_line_with_author(author: &str) -> BlameLine<'_> { FILE: src/handlers/commit_meta.rs function test_commit_meta_header_line (line 9) | fn test_commit_meta_header_line(&self) -> bool { function handle_commit_meta_header_line (line 13) | pub fn handle_commit_meta_header_line(&mut self) -> std::io::Result { function _handle_commit_meta_header_line (line 29) | fn _handle_commit_meta_header_line(&mut self) -> std::io::Result<()> { FILE: src/handlers/diff_header.rs constant DIFF_PREFIXES (line 13) | const DIFF_PREFIXES: [&str; 6] = ["a/", "b/", "c/", "i/", "o/", "w/"]; type FileEvent (line 16) | pub enum FileEvent { function handle_diff_header_mode_line (line 27) | pub fn handle_diff_header_mode_line(&mut self) -> std::io::Result { function should_write_generic_diff_header_header_line (line 54) | fn should_write_generic_diff_header_header_line(&mut self) -> std::io::R... function test_diff_header_minus_line (line 74) | fn test_diff_header_minus_line(&self) -> bool { function handle_diff_header_minus_line (line 82) | pub fn handle_diff_header_minus_line(&mut self) -> std::io::Result { function test_diff_header_plus_line (line 110) | fn test_diff_header_plus_line(&self) -> bool { function handle_diff_header_plus_line (line 118) | pub fn handle_diff_header_plus_line(&mut self) -> std::io::Result { function test_diff_header_file_operation_line (line 150) | fn test_diff_header_file_operation_line(&self) -> bool { function handle_diff_header_file_operation_line (line 157) | pub fn handle_diff_header_file_operation_line(&mut self) -> std::io::Res... function _handle_diff_header_header_line (line 193) | fn _handle_diff_header_header_line(&mut self, comparing: bool) -> std::i... function test_pending_line_with_diff_name (line 213) | fn test_pending_line_with_diff_name(&self) -> bool { function handle_pending_line_with_diff_name (line 217) | pub fn handle_pending_line_with_diff_name(&mut self) -> std::io::Result<... function write_generic_diff_header_header_line (line 267) | pub fn write_generic_diff_header_header_line( function get_filename_from_marker_line (line 305) | fn get_filename_from_marker_line(line: &str) -> Option<&str> { function get_filename_from_diff_header_line_file_path (line 312) | fn get_filename_from_diff_header_line_file_path(path: &str) -> Option<&s... function parse_diff_header_line (line 322) | fn parse_diff_header_line(line: &str, git_diff_name: bool) -> (String, F... function get_repeated_file_path_from_diff_line (line 353) | pub fn get_repeated_file_path_from_diff_line(line: &str) -> Option &str { function _parse_file_path (line 377) | fn _parse_file_path(path: &str, git_diff_name: bool) -> String { function get_file_change_description_from_file_paths (line 398) | pub fn get_file_change_description_from_file_paths( function test_get_filename_from_marker_line (line 477) | fn test_get_filename_from_marker_line() { function test_get_filename_from_diff_header_line (line 485) | fn test_get_filename_from_diff_header_line() { function test_get_file_path_from_git_diff_header_line (line 539) | fn test_get_file_path_from_git_diff_header_line() { function test_get_file_path_from_git_diff_header_line_containing_spaces (line 566) | fn test_get_file_path_from_git_diff_header_line_containing_spaces() { function test_get_file_path_from_git_diff_header_line_rename (line 593) | fn test_get_file_path_from_git_diff_header_line_rename() { function test_get_file_path_from_git_diff_header_line_rename_containing_spaces (line 601) | fn test_get_file_path_from_git_diff_header_line_rename_containing_spaces... function test_parse_diff_header_line (line 609) | fn test_parse_diff_header_line() { function test_get_repeated_file_path_from_diff_line (line 621) | fn test_get_repeated_file_path_from_diff_line() { function test_diff_header_with_mode_change_in_last_hunk (line 650) | fn test_diff_header_with_mode_change_in_last_hunk() { function test_diff_header_with_2x_mode_change (line 680) | fn test_diff_header_with_2x_mode_change() { constant BIN_AND_TXT_FILE_ADDED (line 717) | pub const BIN_AND_TXT_FILE_ADDED: &str = "\ function test_diff_header_relative_paths (line 731) | fn test_diff_header_relative_paths() { constant DIFF_AMBIGUOUS_HEADER_3X_MINUS (line 756) | pub const DIFF_AMBIGUOUS_HEADER_3X_MINUS: &str = r#"--- a.lua constant DIFF_AMBIGUOUS_HEADER_3X_MINUS_LAST_LINE (line 765) | pub const DIFF_AMBIGUOUS_HEADER_3X_MINUS_LAST_LINE: &str = r#"--- c.lua constant DIFF_AMBIGUOUS_HEADER_MULTIPLE_HUNKS (line 774) | pub const DIFF_AMBIGUOUS_HEADER_MULTIPLE_HUNKS: &str = r#"--- e.lua 2024... function test_diff_header_ambiguous_3x_minus (line 790) | fn test_diff_header_ambiguous_3x_minus() { function test_diff_header_ambiguous_3x_minus_concatenated (line 814) | fn test_diff_header_ambiguous_3x_minus_concatenated() { function test_diff_header_ambiguous_3x_minus_extra_and_concatenated (line 875) | fn test_diff_header_ambiguous_3x_minus_extra_and_concatenated() { FILE: src/handlers/diff_header_diff.rs function test_diff_header_diff_line (line 6) | fn test_diff_header_diff_line(&self) -> bool { function handle_diff_header_diff_line (line 11) | pub fn handle_diff_header_diff_line(&mut self) -> std::io::Result { FILE: src/handlers/diff_header_misc.rs function test_diff_file_missing (line 6) | fn test_diff_file_missing(&self) -> bool { function test_diff_is_binary (line 11) | fn test_diff_is_binary(&self) -> bool { function handle_diff_header_misc_line (line 15) | pub fn handle_diff_header_misc_line(&mut self) -> std::io::Result { FILE: src/handlers/diff_stat.rs function test_diff_stat_line (line 12) | fn test_diff_stat_line(&self) -> bool { function handle_diff_stat_line (line 17) | pub fn handle_diff_stat_line(&mut self) -> std::io::Result { function relativize_path_in_diff_stat_line (line 46) | pub fn relativize_path_in_diff_stat_line( function test_diff_stat_line_regex_1 (line 82) | fn test_diff_stat_line_regex_1() { function test_diff_stat_line_regex_2 (line 91) | fn test_diff_stat_line_regex_2() { function test_relative_path (line 100) | fn test_relative_path() { FILE: src/handlers/draw.rs function paint_text (line 8) | fn paint_text(text_style: Style, text: &str, addendum: &str) -> String { type DrawFunction (line 18) | pub type DrawFunction = dyn FnMut( function get_draw_function (line 28) | pub fn get_draw_function( function write_no_decoration (line 55) | fn write_no_decoration( function write_boxed (line 74) | pub fn write_boxed( function write_boxed_with_underline (line 104) | fn write_boxed_with_underline( type UnderOverline (line 141) | enum UnderOverline { function write_underlined (line 147) | fn write_underlined( function write_overlined (line 168) | fn write_overlined( function write_underoverlined (line 189) | fn write_underoverlined( function _write_under_or_over_lined (line 211) | fn _write_under_or_over_lined( function write_horizontal_line (line 247) | fn write_horizontal_line( function write_boxed_with_horizontal_whisker (line 265) | fn write_boxed_with_horizontal_whisker( function write_boxed_partial (line 292) | fn write_boxed_partial( FILE: src/handlers/git_show_file.rs function handle_git_show_file_line (line 8) | pub fn handle_git_show_file_line(&mut self) -> std::io::Result { FILE: src/handlers/grep.rs type GrepLine (line 21) | pub struct GrepLine<'b> { function expand_tabs (line 31) | fn expand_tabs(&mut self, tab_cfg: &tabs::TabCfg) { type LineType (line 50) | pub enum LineType { method file_path_separator (line 69) | fn file_path_separator(&self) -> &str { type GrepOutputConfig (line 58) | struct GrepOutputConfig { function handle_grep_line (line 84) | pub fn handle_grep_line(&mut self) -> std::io::Result { function emit_ripgrep_format_grep_line (line 152) | fn emit_ripgrep_format_grep_line( function emit_classic_format_grep_line (line 246) | fn emit_classic_format_grep_line(&mut self, grep_line: GrepLine) -> std:... function _emit_classic_format_file_and_line_number (line 293) | fn _emit_classic_format_file_and_line_number( function _emit_classic_format_code (line 326) | fn _emit_classic_format_code(&mut self, mut grep_line: GrepLine) -> std:... function make_style_sections (line 374) | fn make_style_sections<'a>( function get_code_style_sections (line 397) | fn get_code_style_sections<'b>( function make_output_config (line 429) | fn make_output_config() -> GrepOutputConfig { type GrepLineRegex (line 471) | enum GrepLineRegex { function make_grep_line_regex (line 505) | fn make_grep_line_regex(regex_variant: GrepLineRegex) -> Regex { function parse_grep_line (line 667) | pub fn parse_grep_line(line: &str) -> Option> { function parse_raw_grep_line (line 685) | pub fn parse_raw_grep_line(raw_line: &str) -> Option> { function _parse_grep_line (line 702) | pub fn _parse_grep_line<'b>(regex: &Regex, line: &'b str) -> Option bool { function compute_is_word_diff (line 29) | fn compute_is_word_diff() -> bool { function test_hunk_line (line 45) | fn test_hunk_line(&self) -> bool { function handle_hunk_line (line 61) | pub fn handle_hunk_line(&mut self) -> std::io::Result { function maybe_raw_line (line 136) | fn maybe_raw_line( function new_line_state (line 156) | fn new_line_state( function test_word_diff (line 283) | fn test_word_diff() { function test_color_words (line 301) | fn test_color_words() { function test_color_words_map_styles (line 320) | fn test_color_words_map_styles() { function test_hunk_line_style_raw (line 342) | fn test_hunk_line_style_raw() { function test_hunk_line_style_raw_map_styles (line 356) | fn test_hunk_line_style_raw_map_styles() { constant GIT_DIFF_WITH_COLOR (line 376) | const GIT_DIFF_WITH_COLOR: &str = r#"\ constant GIT_DIFF_COLOR_WORDS (line 392) | const GIT_DIFF_COLOR_WORDS: &str = r#"\ constant GIT_DIFF_WORD_DIFF (line 407) | const GIT_DIFF_WORD_DIFF: &str = r#"\ FILE: src/handlers/hunk_header.rs type ParsedHunkHeader (line 35) | pub struct ParsedHunkHeader { type HunkHeaderIncludeHunkLabel (line 40) | pub enum HunkHeaderIncludeHunkLabel { type AmbiguousDiffMinusCounter (line 52) | pub struct AmbiguousDiffMinusCounter(isize); constant COUNTER_RELEVANT_IF_GREATER_THAN (line 60) | const COUNTER_RELEVANT_IF_GREATER_THAN: isize = -4096; constant EXPECT_DIFF_3DASH_HEADER (line 61) | const EXPECT_DIFF_3DASH_HEADER: isize = 0; method not_needed (line 63) | pub fn not_needed() -> Self { method prepare_to_count (line 66) | pub fn prepare_to_count() -> Self { method three_dashes_expected (line 69) | pub fn three_dashes_expected(&self) -> bool { method count_line (line 76) | pub fn count_line(&mut self) { method count_from (line 79) | fn count_from(lines: usize) -> Self { method must_count (line 87) | fn must_count(&mut self) -> bool { function test_hunk_header_line (line 103) | fn test_hunk_header_line(&self) -> bool { function handle_hunk_header_line (line 110) | pub fn handle_hunk_header_line(&mut self) -> std::io::Result { function emit_hunk_header_line (line 151) | pub fn emit_hunk_header_line( function parse_hunk_header (line 235) | fn parse_hunk_header(line: &str) -> Option { function write_hunk_header_raw (line 266) | fn write_hunk_header_raw( function write_line_of_code_with_optional_path_and_line_number (line 290) | pub fn write_line_of_code_with_optional_path_and_line_number( function paint_file_path_with_line_number (line 357) | fn paint_file_path_with_line_number( function write_to_output_buffer (line 393) | fn write_to_output_buffer( function test_parse_hunk_header (line 443) | fn test_parse_hunk_header() { function test_parse_hunk_header_with_omitted_hunk_lengths (line 454) | fn test_parse_hunk_header_with_omitted_hunk_lengths() { function test_parse_hunk_header_with_no_hunk_lengths (line 465) | fn test_parse_hunk_header_with_no_hunk_lengths() { function test_parse_hunk_header_added_file (line 471) | fn test_parse_hunk_header_added_file() { function test_parse_hunk_header_deleted_file (line 482) | fn test_parse_hunk_header_deleted_file() { function test_parse_hunk_header_merge (line 493) | fn test_parse_hunk_header_merge() { function test_parse_hunk_header_cthulhu (line 505) | fn test_parse_hunk_header_cthulhu() { function test_paint_file_path_with_line_number_default (line 518) | fn test_paint_file_path_with_line_number_default() { function test_paint_file_path_with_line_number_hyperlinks (line 538) | fn test_paint_file_path_with_line_number_hyperlinks() { function test_paint_file_path_with_line_number_empty (line 576) | fn test_paint_file_path_with_line_number_empty() { function test_paint_file_path_with_line_number_empty_hyperlinks (line 603) | fn test_paint_file_path_with_line_number_empty_hyperlinks() { function test_paint_file_path_with_line_number_empty_navigate (line 632) | fn test_paint_file_path_with_line_number_empty_navigate() { function test_not_a_hunk_header_is_handled_gracefully (line 658) | fn test_not_a_hunk_header_is_handled_gracefully() { constant GIT_LOG_OUTPUT_WITH_NOT_A_HUNK_HEADER (line 666) | const GIT_LOG_OUTPUT_WITH_NOT_A_HUNK_HEADER: &str = "\ FILE: src/handlers/merge_conflict.rs type MergeConflictCommit (line 15) | pub enum MergeConflictCommit { type MergeConflictCommits (line 21) | pub struct MergeConflictCommits { type MergeConflictLines (line 27) | pub type MergeConflictLines = MergeConflictCommits>; method new (line 277) | pub fn new() -> Self { method clear (line 285) | fn clear(&mut self) { type MergeConflictCommitNames (line 29) | pub type MergeConflictCommitNames = MergeConflictCommits>; method new (line 293) | pub fn new() -> Self { function handle_merge_conflict_line (line 32) | pub fn handle_merge_conflict_line(&mut self) -> std::io::Result { function enter_merge_conflict (line 79) | fn enter_merge_conflict(&mut self, merge_parents: &MergeParents) -> bool { function enter_ancestral (line 90) | fn enter_ancestral(&mut self, merge_parents: &MergeParents) -> bool { function enter_theirs (line 101) | fn enter_theirs(&mut self, merge_parents: &MergeParents) -> bool { function exit_merge_conflict (line 111) | fn exit_merge_conflict(&mut self, merge_parents: &MergeParents) -> std::... function store_line (line 121) | fn store_line(&mut self, commit: MergeConflictCommit, state: State) -> b... function paint_buffered_merge_conflict_lines (line 132) | fn paint_buffered_merge_conflict_lines( function write_diff_header (line 180) | fn write_diff_header( function write_merge_conflict_bar (line 211) | fn write_merge_conflict_bar( function parse_merge_marker (line 228) | fn parse_merge_marker<'a>(line: &'a str, marker: &str) -> Option<&'a str> { type Output (line 245) | type Output = T; function index (line 246) | fn index(&self, commit: MergeConflictCommit) -> &Self::Output { type Output (line 256) | type Output = T; function index (line 257) | fn index(&self, commit: &MergeConflictCommit) -> &Self::Output { function index_mut (line 267) | fn index_mut(&mut self, commit: MergeConflictCommit) -> &mut Self::Output { function test_toy_merge_conflict_no_context (line 308) | fn test_toy_merge_conflict_no_context() { function test_real_merge_conflict (line 324) | fn test_real_merge_conflict() { function test_real_merge_conflict_U0 (line 341) | fn test_real_merge_conflict_U0() { constant GIT_TOY_MERGE_CONFLICT_NO_CONTEXT (line 356) | const GIT_TOY_MERGE_CONFLICT_NO_CONTEXT: &str = "\ constant GIT_MERGE_CONFLICT (line 370) | const GIT_MERGE_CONFLICT: &str = r#"\ constant GIT_MERGE_CONFLICT_U0 (line 884) | const GIT_MERGE_CONFLICT_U0: &str = r#"\ FILE: src/handlers/mod.rs function handle_additional_cases (line 21) | pub fn handle_additional_cases(&mut self, to_state: State) -> std::io::R... FILE: src/handlers/ripgrep_json.rs function parse_line (line 11) | pub fn parse_line(line: &str) -> Option> { type RipGrepLine (line 91) | struct RipGrepLine { type RipGrepLineData (line 98) | struct RipGrepLineData { type RipGrepLineText (line 107) | struct RipGrepLineText { type RipGrepLineSubmatch (line 112) | struct RipGrepLineSubmatch { function test_syntax_in_rg_output_with_context (line 133) | fn test_syntax_in_rg_output_with_context() { function test_syntax_in_rg_output_no_context (line 154) | fn test_syntax_in_rg_output_no_context() { function test_deserialize (line 174) | fn test_deserialize() { function test_deserialize_2 (line 201) | fn test_deserialize_2() { FILE: src/handlers/submodule.rs function test_submodule_log (line 8) | fn test_submodule_log(&self) -> bool { function handle_submodule_log_line (line 12) | pub fn handle_submodule_log_line(&mut self) -> std::io::Result { function test_submodule_short_line (line 20) | fn test_submodule_short_line(&self) -> bool { function handle_submodule_short_line (line 27) | pub fn handle_submodule_short_line(&mut self) -> std::io::Result { function get_submodule_short_commit (line 57) | pub fn get_submodule_short_commit(line: &str) -> Option<&str> { FILE: src/main.rs function fatal (line 40) | pub fn fatal(errmsg: T) -> ! function main (line 60) | fn main() -> std::io::Result<()> { function run_app (line 80) | pub fn run_app( FILE: src/minusplus.rs type MinusPlus (line 6) | pub struct MinusPlus { type MinusPlusIndex (line 12) | pub enum MinusPlusIndex { type Output (line 20) | type Output = T; function index (line 21) | fn index(&self, side: MinusPlusIndex) -> &Self::Output { function index_mut (line 30) | fn index_mut(&mut self, side: MinusPlusIndex) -> &mut Self::Output { function new (line 39) | pub fn new(minus: T, plus: T) -> Self { method default (line 45) | fn default() -> Self { FILE: src/options/get.rs function get_option_value (line 26) | pub fn get_option_value( function get_themes (line 43) | pub fn get_themes(git_config: Option) -> Vec Self { method from (line 34) | fn from(value: f64) -> Self { method from (line 49) | fn from(value: Option) -> Self { method from (line 64) | fn from(value: String) -> Self { method from (line 70) | fn from(value: &str) -> Self { method from (line 85) | fn from(value: usize) -> Self { type ProvenancedOptionValue (line 13) | pub enum ProvenancedOptionValue { function from (line 25) | fn from(value: OptionValue) -> Self { function from (line 40) | fn from(value: OptionValue) -> Self { function from (line 55) | fn from(value: OptionValue) -> Self { method from (line 76) | fn from(value: OptionValue) -> Self { function from (line 91) | fn from(value: OptionValue) -> Self { FILE: src/options/set.rs function set_options (line 69) | pub fn set_options( function set__light__dark__syntax_theme__options (line 257) | fn set__light__dark__syntax_theme__options( function gather_features (line 342) | fn gather_features( function gather_features_recursively (line 430) | fn gather_features_recursively( function gather_builtin_features_from_flags_in_gitconfig (line 466) | fn gather_builtin_features_from_flags_in_gitconfig( function gather_builtin_features_recursively (line 486) | fn gather_builtin_features_recursively( function split_feature_string (line 529) | fn split_feature_string(features: &str) -> impl Iterator { type Err (line 534) | type Err = Error; method from_str (line 535) | fn from_str(s: &str) -> Result { function parse_paging_mode (line 548) | fn parse_paging_mode(paging_mode_string: &str) -> PagingMode { function parse_width_specifier (line 561) | fn parse_width_specifier(width_arg: &str, terminal_width: usize) -> Resu... function set_widths_and_isatty (line 605) | fn set_widths_and_isatty(opt: &mut cli::Opt) { function set_true_color (line 642) | fn set_true_color(opt: &mut cli::Opt) { function is_truecolor_terminal (line 664) | fn is_truecolor_terminal(env: &DeltaEnv) -> bool { constant TERMINAL_WIDTH_IN_TESTS (line 679) | pub const TERMINAL_WIDTH_IN_TESTS: usize = 43; function test_options_can_be_set_in_git_config (line 682) | fn test_options_can_be_set_in_git_config() { function test_width_in_git_config_is_honored (line 810) | fn test_width_in_git_config_is_honored() { function test_parse_width_specifier (line 832) | fn test_parse_width_specifier() { FILE: src/options/theme.rs function set__color_mode__syntax_theme__syntax_set (line 27) | pub fn set__color_mode__syntax_theme__syntax_set(opt: &mut cli::Opt, ass... function is_light_syntax_theme (line 40) | pub fn is_light_syntax_theme(theme: &str) -> bool { function color_mode_from_syntax_theme (line 44) | pub fn color_mode_from_syntax_theme(theme: &str) -> ColorMode { constant LIGHT_SYNTAX_THEMES (line 52) | const LIGHT_SYNTAX_THEMES: [&str; 7] = [ constant DEFAULT_LIGHT_SYNTAX_THEME (line 62) | const DEFAULT_LIGHT_SYNTAX_THEME: &str = "GitHub"; constant DEFAULT_DARK_SYNTAX_THEME (line 63) | const DEFAULT_DARK_SYNTAX_THEME: &str = "Monokai Extended"; function is_no_syntax_highlighting_syntax_theme_name (line 65) | fn is_no_syntax_highlighting_syntax_theme_name(theme_name: &str) -> bool { function get_color_mode_and_syntax_theme_name (line 71) | fn get_color_mode_and_syntax_theme_name( function get_color_mode (line 83) | fn get_color_mode(opt: &cli::Opt) -> Option { function should_detect_color_mode (line 96) | fn should_detect_color_mode(opt: &cli::Opt) -> bool { function detect_color_mode (line 105) | fn detect_color_mode() -> Option { method from (line 112) | fn from(value: terminal_colorsaurus::ColorScheme) -> Self { function detect_color_mode (line 121) | fn detect_color_mode() -> Option { function test_syntax_theme_selection (line 133) | fn test_syntax_theme_selection() { FILE: src/paint.rs type LineSections (line 24) | pub type LineSections<'a, S> = Vec<(S, &'a str)>; type Painter (line 26) | pub struct Painter<'p> { type BgFillMethod (line 44) | pub enum BgFillMethod { type BgShouldFill (line 54) | pub enum BgShouldFill { method default (line 60) | fn default() -> Self { type StyleSectionSpecifier (line 66) | pub enum StyleSectionSpecifier<'l> { function new (line 72) | pub fn new(writer: &'p mut dyn Write, config: &'p config::Config) -> Self { function set_syntax (line 105) | pub fn set_syntax(&mut self, filename: Option<&str>) { function get_syntax (line 113) | fn get_syntax<'a>( function set_highlighter (line 151) | pub fn set_highlighter(&mut self) { function paint_buffered_minus_and_plus_lines (line 157) | pub fn paint_buffered_minus_and_plus_lines(&mut self) { function paint_zero_line (line 172) | pub fn paint_zero_line(&mut self, line: &str, state: State) { function paint_lines (line 215) | pub fn paint_lines<'a>( function syntax_highlight_and_paint_line (line 286) | pub fn syntax_highlight_and_paint_line( function get_should_right_fill_background_color_and_fill_style (line 315) | pub fn get_should_right_fill_background_color_and_fill_style( function right_fill_background_color (line 373) | pub fn right_fill_background_color(line: &mut String, fill_style: Style) { function mark_empty_line (line 391) | pub fn mark_empty_line(empty_line_style: &Style, line: &mut String, mark... function paint_line (line 401) | pub fn paint_line( function emit (line 461) | pub fn emit(&mut self) -> std::io::Result<()> { function should_compute_syntax_highlighting (line 467) | pub fn should_compute_syntax_highlighting(state: &State, config: &config... function update_diff_style_sections (line 524) | fn update_diff_style_sections<'a>( function prepare (line 585) | pub fn prepare(line: &str, prefix_length: usize, config: &config::Config... function prepare_raw_line (line 600) | pub fn prepare_raw_line(raw_line: &str, prefix_length: usize, config: &c... function paint_minus_and_plus_lines (line 606) | pub fn paint_minus_and_plus_lines( function get_syntax_style_sections_for_lines (line 685) | pub fn get_syntax_style_sections_for_lines<'a>( function get_diff_style_sections (line 746) | fn get_diff_style_sections<'a>( function painted_prefix (line 780) | fn painted_prefix(state: State, config: &config::Config) -> Option( function paint_file_path_with_line_number (line 831) | pub fn paint_file_path_with_line_number( function style_sections_contain_more_than_one_style (line 896) | fn style_sections_contain_more_than_one_style(sections: &[(Style, &str)]... function superimpose_style_sections (line 919) | pub fn superimpose_style_sections( function explode (line 937) | fn explode(style_sections: &[(T, &str)]) -> Vec<(T, char)> function superimpose (line 951) | fn superimpose( function coalesce (line 967) | fn coalesce( function test_superimpose_style_sections_1 (line 1078) | fn test_superimpose_style_sections_1() { function test_superimpose_style_sections_2 (line 1089) | fn test_superimpose_style_sections_2() { function test_superimpose_style_sections_3 (line 1103) | fn test_superimpose_style_sections_3() { function test_explode (line 1114) | fn test_explode() { function test_superimpose (line 1123) | fn test_superimpose() { FILE: src/parse_style.rs method from_str (line 14) | pub fn from_str( method from_git_str (line 38) | pub fn from_git_str(git_style_string: &str) -> Self { method from_str_with_handling_of_special_decoration_attributes (line 43) | pub fn from_str_with_handling_of_special_decoration_attributes( method from_str (line 79) | pub fn from_str(style_string: &str, true_color: bool, git_config: Option... method apply_special_decoration_attributes (line 111) | fn apply_special_decoration_attributes( function parse_ansi_term_style (line 146) | fn parse_ansi_term_style( function extract_special_decoration_attributes (line 234) | fn extract_special_decoration_attributes(style_string: &str) -> (Decorat... function extract_special_decoration_attributes_from_non_decoration_style_string (line 238) | fn extract_special_decoration_attributes_from_non_decoration_style_string( function _extract_special_decoration_attributes (line 247) | fn _extract_special_decoration_attributes( function test_parse_ansi_term_style (line 278) | fn test_parse_ansi_term_style() { function test_parse_ansi_term_style_with_special_syntax_color (line 327) | fn test_parse_ansi_term_style_with_special_syntax_color() { function test_parse_ansi_term_style_with_special_omit_attribute (line 364) | fn test_parse_ansi_term_style_with_special_omit_attribute() { function test_parse_ansi_term_style_with_special_raw_attribute (line 387) | fn test_parse_ansi_term_style_with_special_raw_attribute() { function test_extract_special_decoration_attribute (line 410) | fn test_extract_special_decoration_attribute() { function test_decoration_style_from_str_empty_string (line 453) | fn test_decoration_style_from_str_empty_string() { function test_decoration_style_from_str (line 461) | fn test_decoration_style_from_str() { function test_style_from_str (line 474) | fn test_style_from_str() { function test_style_from_str_raw_with_box (line 499) | fn test_style_from_str_raw_with_box() { function test_style_from_str_decoration_style_only (line 514) | fn test_style_from_str_decoration_style_only() { function test_style_from_str_with_handling_of_special_decoration_attributes (line 532) | fn test_style_from_str_with_handling_of_special_decoration_attributes() { function test_style_from_str_with_handling_of_special_decoration_attributes_raw_with_box (line 556) | fn test_style_from_str_with_handling_of_special_decoration_attributes_ra... FILE: src/parse_styles.rs type StyleReference (line 10) | enum StyleReference { function is_style_reference (line 15) | fn is_style_reference(style_string: &str) -> bool { function parse_styles (line 19) | pub fn parse_styles(opt: &cli::Opt) -> HashMap { function parse_styles_map (line 43) | pub fn parse_styles_map(opt: &cli::Opt) -> Option) -> Has... function test_resolve_style_references_1 (line 592) | fn test_resolve_style_references_1() { function test_resolve_style_references_2 (line 617) | fn test_resolve_style_references_2() { function test_resolve_style_references_cycle (line 658) | fn test_resolve_style_references_cycle() { FILE: src/style.rs type Style (line 13) | pub struct Style { method fmt (line 24) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method new (line 72) | pub fn new() -> Self { method from_colors (line 83) | pub fn from_colors( method paint (line 97) | pub fn paint<'a, I, S: 'a + ToOwned + ?Sized>( method get_background_color (line 108) | pub fn get_background_color(&self) -> Option { method is_applied_to (line 116) | pub fn is_applied_to(&self, s: &str) -> bool { method get_matching_substring (line 124) | pub fn get_matching_substring<'a>(&self, s: &'a str) -> Option<&'a str> { method to_painted_string (line 133) | pub fn to_painted_string(self) -> ansi_term::ANSIGenericString<'static... method fmt (line 156) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type DecorationStyle (line 59) | pub enum DecorationStyle { function paint_color_string (line 139) | pub fn paint_color_string<'a>( function ansi_term_style_equality (line 201) | pub fn ansi_term_style_equality(a: ansi_term::Style, b: ansi_term::Style... type AnsiTermStyleEqualityKey (line 224) | pub struct AnsiTermStyleEqualityKey { method fmt (line 276) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method eq (line 231) | fn eq(&self, other: &Self) -> bool { method hash (line 250) | fn hash(&self, state: &mut H) { function ansi_term_style_equality_key (line 257) | pub fn ansi_term_style_equality_key(style: ansi_term::Style) -> AnsiTerm... function ansi_term_color_equality (line 304) | fn ansi_term_color_equality(a: Option, b: Option (u8, u8, u8,... function line_has_style_other_than (line 358) | pub fn line_has_style_other_than(line: &str, styles: &[Style]) -> bool { function test_parse_git_style_string_and_ansi_code_iterator (line 416) | fn test_parse_git_style_string_and_ansi_code_iterator() { function test_is_applied_to_negative_assertion (line 423) | fn test_is_applied_to_negative_assertion() { function test_git_default_styles (line 430) | fn test_git_default_styles() { function test_line_has_style_other_than (line 441) | fn test_line_has_style_other_than() { function test_style_compact_debug_fmt (line 479) | fn test_style_compact_debug_fmt() { FILE: src/subcommands/diff.rs function build_diff_cmd (line 12) | pub fn build_diff_cmd( function diff_args_set_unified_context (line 77) | fn diff_args_set_unified_context(args: I) -> bool function test_unified_diff_arg_is_detected_in_diff_args (line 116) | fn test_unified_diff_arg_is_detected_in_diff_args( type ExpectDiff (line 123) | enum ExpectDiff { function test_diff_real_files (line 134) | fn test_diff_real_files( FILE: src/subcommands/external.rs constant RG (line 6) | const RG: &str = "rg"; constant GIT (line 7) | const GIT: &str = "git"; constant SUBCOMMANDS (line 8) | pub const SUBCOMMANDS: &[&str] = &[RG, GIT]; type SubCmdKind (line 11) | pub enum SubCmdKind { method fmt (line 20) | fn fmt(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Re... method fmt (line 35) | fn fmt(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Re... type SubCommand (line 49) | pub struct SubCommand { method new (line 55) | pub fn new(kind: SubCmdKind, args: Vec) -> Self { method none (line 59) | pub fn none() -> Self { method is_none (line 66) | pub fn is_none(&self) -> bool { function extract (line 75) | pub fn extract(args: &[OsString], orig_error: Error) -> (ArgMatches, Sub... function test_subcmd_kind_formatter (line 148) | fn test_subcmd_kind_formatter() { function just_delta_argument_error (line 165) | fn just_delta_argument_error() { function subcommand_found_but_delta_argument_error (line 181) | fn subcommand_found_but_delta_argument_error() { function subcommand_rg (line 197) | fn subcommand_rg() { function subcommand_git_cat_file (line 249) | fn subcommand_git_cat_file() { FILE: src/subcommands/generate_completion.rs function generate_completion_file (line 6) | pub fn generate_completion_file(shell: Shell) -> std::io::Result<()> { FILE: src/subcommands/list_syntax_themes.rs function list_syntax_themes (line 8) | pub fn list_syntax_themes() -> std::io::Result<()> { function _list_syntax_themes_for_humans (line 18) | pub fn _list_syntax_themes_for_humans(writer: &mut dyn Write) -> std::io... function _list_syntax_themes_for_machines (line 36) | pub fn _list_syntax_themes_for_machines(writer: &mut dyn Write) -> std::... function test_list_syntax_themes_for_humans (line 60) | fn test_list_syntax_themes_for_humans() { function test_list_syntax_themes_for_machines (line 73) | fn test_list_syntax_themes_for_machines() { FILE: src/subcommands/parse_ansi.rs function parse_ansi (line 4) | pub fn parse_ansi() -> std::io::Result<()> { FILE: src/subcommands/sample_diff.rs constant DIFF (line 1) | pub const DIFF: &[u8] = r#" FILE: src/subcommands/show_colors.rs function show_colors (line 13) | pub fn show_colors() -> std::io::Result<()> { FILE: src/subcommands/show_config.rs function show_config (line 13) | pub fn show_config(config: &config::Config, writer: &mut dyn Write) -> s... function format_option_value (line 170) | fn format_option_value(s: S) -> String function test_show_config (line 195) | fn test_show_config() { FILE: src/subcommands/show_syntax_themes.rs function show_syntax_themes (line 13) | pub fn show_syntax_themes() -> std::io::Result<()> { function _show_syntax_themes (line 55) | fn _show_syntax_themes( function test_show_syntax_themes (line 121) | fn test_show_syntax_themes() { FILE: src/subcommands/show_themes.rs function show_themes (line 12) | pub fn show_themes(dark: bool, light: bool, color_mode: ColorMode) -> st... FILE: src/tests/ansi_test_utils.rs function assert_line_has_style (line 14) | pub fn assert_line_has_style( function assert_line_contain_substring_style (line 35) | pub fn assert_line_contain_substring_style( function assert_line_does_not_contain_substring_style (line 58) | pub fn assert_line_does_not_contain_substring_style( function assert_line_does_not_have_style (line 75) | pub fn assert_line_does_not_have_style( function assert_line_has_4_bit_color_style (line 92) | pub fn assert_line_has_4_bit_color_style( function assert_line_has_no_color (line 109) | pub fn assert_line_has_no_color(output: &str, line_number: usize, expect... function assert_line_has_syntax_highlighted_substring (line 120) | pub fn assert_line_has_syntax_highlighted_substring( function assert_has_color_other_than_plus_color (line 142) | pub fn assert_has_color_other_than_plus_color(string: &str, config: &Con... function assert_has_plus_color_only (line 149) | pub fn assert_has_plus_color_only(string: &str, config: &Config) { function get_color_variants (line 156) | pub fn get_color_variants(string: &str, config: &Config) -> (String, Str... function paint_line (line 168) | pub fn paint_line( function _line_extract (line 204) | fn _line_extract<'a>(output: &'a str, line_number: usize, expected_prefi... function _line_get_substring_matching_style (line 210) | fn _line_get_substring_matching_style<'a>( function _line_has_style (line 228) | fn _line_has_style( function ansi_term_fixed_foreground_to_4_bit_color (line 253) | fn ansi_term_fixed_foreground_to_4_bit_color(color: ansi_term::Color) ->... FILE: src/tests/integration_test_utils.rs function make_options_from_args_and_git_config (line 20) | pub fn make_options_from_args_and_git_config( function make_options_from_args_and_git_config_with_custom_env (line 34) | pub fn make_options_from_args_and_git_config_with_custom_env( function make_options_from_args_and_git_config_honoring_env_var_with_custom_env (line 43) | pub fn make_options_from_args_and_git_config_honoring_env_var_with_custo... function _make_options_from_args_and_git_config (line 52) | fn _make_options_from_args_and_git_config( function make_options_from_args (line 72) | pub fn make_options_from_args(args: &[&str]) -> cli::Opt { function make_config_from_args_and_git_config (line 77) | pub fn make_config_from_args_and_git_config( function make_config_from_args (line 89) | pub fn make_config_from_args(args: &[&str]) -> config::Config { function make_git_config (line 93) | pub fn make_git_config( function get_line_of_code_from_delta (line 105) | pub fn get_line_of_code_from_delta( function assert_lines_match_after_skip (line 125) | pub fn assert_lines_match_after_skip(skip: usize, expected: &str, have: ... function assert_lines_match (line 163) | pub fn assert_lines_match(expected: &str, have: &str) { function delineated_string (line 167) | pub fn delineated_string(txt: &str) -> String { type DeltaTest (line 174) | pub struct DeltaTest<'a> { function with_args (line 181) | pub fn with_args(args: &[&str]) -> Self { function with_config (line 189) | pub fn with_config(config: &'a config::Config) -> Self { function set_config (line 197) | pub fn set_config(mut self, f: F) -> Self function with_calling_process (line 207) | pub fn with_calling_process(mut self, command: &str) -> Self { function explain_ansi (line 212) | pub fn explain_ansi(mut self) -> Self { function with_input (line 217) | pub fn with_input(&self, input: &str) -> DeltaTestOutput { type DeltaTestOutput (line 233) | pub struct DeltaTestOutput { method inspect (line 242) | pub fn inspect(self) -> Self { method inspect_raw (line 249) | pub fn inspect_raw(self) -> Self { method expect_after_skip (line 254) | pub fn expect_after_skip(self, skip: usize, expected: &str) -> Self { method expect (line 259) | pub fn expect(self, expected: &str) -> Self { method expect_after_header (line 263) | pub fn expect_after_header(self, expected: &str) -> Self { method skip_header (line 267) | pub fn skip_header(self) -> String { method expect_contains (line 271) | pub fn expect_contains(self, expected: &str) -> Self { method expect_raw_contains (line 281) | pub fn expect_raw_contains(self, expected: &str) -> Self { method expect_contains_once (line 291) | pub fn expect_contains_once(self, expected: &str) -> Self { function run_delta (line 302) | pub fn run_delta(input: &str, config: &config::Config) -> String { function test_lines_match_ok (line 318) | fn test_lines_match_ok() { function test_lines_match_no_nl (line 351) | fn test_lines_match_no_nl() { function test_lines_match_iter_not_consumed (line 359) | fn test_lines_match_iter_not_consumed() { function test_lines_match_no_indent_mark_1 (line 369) | fn test_lines_match_no_indent_mark_1() { function test_lines_match_no_indent_mark_2 (line 379) | fn test_lines_match_no_indent_mark_2() { function test_delta_test (line 388) | fn test_delta_test() { FILE: src/tests/mod.rs constant TESTING (line 7) | pub const TESTING: bool = false; constant TESTING (line 10) | pub const TESTING: bool = true; function am_testing (line 14) | fn am_testing() { FILE: src/tests/test_example_diffs.rs function test_added_file (line 14) | fn test_added_file() { function test_added_empty_file (line 21) | fn test_added_empty_file() { function test_added_file_directory_path_containing_space (line 28) | fn test_added_file_directory_path_containing_space() { function test_renamed_file (line 36) | fn test_renamed_file() { function test_copied_file (line 43) | fn test_copied_file() { function test_renamed_file_with_changes (line 50) | fn test_renamed_file_with_changes() { function test_recognized_file_type (line 60) | fn test_recognized_file_type() { function test_unrecognized_file_type_with_syntax_theme (line 73) | fn test_unrecognized_file_type_with_syntax_theme() { function test_unrecognized_file_type_no_syntax_theme (line 84) | fn test_unrecognized_file_type_no_syntax_theme() { function test_default_language_is_used_for_syntax_highlighting (line 100) | fn test_default_language_is_used_for_syntax_highlighting() { function test_default_language_is_not_used_when_other_language_is_detected (line 122) | fn test_default_language_is_not_used_when_other_language_is_detected() { function test_full_filename_used_to_detect_language (line 142) | fn test_full_filename_used_to_detect_language() { function test_diff_unified_two_files (line 173) | fn test_diff_unified_two_files() { function test_diff_unified_two_directories (line 189) | fn test_diff_unified_two_directories() { function test_diff_unified_concatenated (line 212) | fn test_diff_unified_concatenated() { function test_delta_ignores_non_diff_input (line 222) | fn test_delta_ignores_non_diff_input() { function test_certain_bugs_are_not_present (line 230) | fn test_certain_bugs_are_not_present() { function test_delta_paints_diff_when_there_is_unrecognized_initial_content (line 244) | fn test_delta_paints_diff_when_there_is_unrecognized_initial_content() { function test_diff_with_merge_conflict_is_not_truncated (line 257) | fn test_diff_with_merge_conflict_is_not_truncated() { function test_diff_with_merge_conflict_is_passed_on_unchanged_under_raw (line 264) | fn test_diff_with_merge_conflict_is_passed_on_unchanged_under_raw() { function test_simple_dirty_submodule_diff (line 271) | fn test_simple_dirty_submodule_diff() { function test_submodule_diff_log (line 285) | fn test_submodule_diff_log() { function test_submodule_contains_untracked_content (line 295) | fn test_submodule_contains_untracked_content() { function test_triple_dash_at_beginning_of_line_in_code (line 304) | fn test_triple_dash_at_beginning_of_line_in_code() { function test_binary_files_differ (line 313) | fn test_binary_files_differ() { function test_binary_file_added (line 326) | fn test_binary_file_added() { function test_binary_file_removed (line 338) | fn test_binary_file_removed() { function test_binary_files_differ_after_other (line 350) | fn test_binary_files_differ_after_other() { function test_diff_in_diff (line 366) | fn test_diff_in_diff() { function test_standalone_diff_files_are_identical (line 375) | fn test_standalone_diff_files_are_identical() { function test_standalone_diff_binary_files_differ (line 383) | fn test_standalone_diff_binary_files_differ() { function test_diff_no_index_binary_files_differ (line 391) | fn test_diff_no_index_binary_files_differ() { function test_commit_style_raw_no_decoration (line 401) | fn test_commit_style_raw_no_decoration() { function test_commit_style_colored_input_color_is_stripped_under_normal (line 422) | fn test_commit_style_colored_input_color_is_stripped_under_normal() { function test_commit_style_colored_input_color_is_preserved_under_raw (line 441) | fn test_commit_style_colored_input_color_is_preserved_under_raw() { function test_orphan_carriage_return_is_stripped (line 462) | fn test_orphan_carriage_return_is_stripped() { function test_commit_decoration_style_omit (line 472) | fn test_commit_decoration_style_omit() { function test_commit_decoration_style_empty_string (line 482) | fn test_commit_decoration_style_empty_string() { function _do_test_commit_style_no_decoration (line 491) | fn _do_test_commit_style_no_decoration(args: &[&str]) { function test_commit_style_omit (line 515) | fn test_commit_style_omit() { function test_commit_style_box (line 527) | fn test_commit_style_box() { function test_commit_style_box_ul (line 537) | fn test_commit_style_box_ul() { function test_commit_style_box_ol (line 549) | fn test_commit_style_box_ol() { function _do_test_commit_style_box (line 558) | fn _do_test_commit_style_box(args: &[&str]) { function _do_test_commit_style_box_ul (line 592) | fn _do_test_commit_style_box_ul(args: &[&str]) { function _do_test_commit_style_box_ol (line 625) | fn _do_test_commit_style_box_ol(args: &[&str]) { function test_commit_style_box_raw (line 660) | fn test_commit_style_box_raw() { function test_commit_style_underline (line 685) | fn test_commit_style_underline() { function _do_test_commit_style_underline (line 694) | fn _do_test_commit_style_underline(args: &[&str]) { function test_file_style_raw_no_decoration (line 720) | fn test_file_style_raw_no_decoration() { function test_file_style_colored_input_color_is_stripped_under_normal (line 750) | fn test_file_style_colored_input_color_is_stripped_under_normal() { function test_file_style_colored_input_color_is_preserved_under_raw (line 765) | fn test_file_style_colored_input_color_is_preserved_under_raw() { function test_file_decoration_style_omit (line 790) | fn test_file_decoration_style_omit() { function test_file_decoration_style_empty_string (line 800) | fn test_file_decoration_style_empty_string() { function _do_test_file_style_no_decoration (line 809) | fn _do_test_file_style_no_decoration(args: &[&str]) { function test_file_style_omit (line 824) | fn test_file_style_omit() { function test_file_style_box (line 831) | fn test_file_style_box() { function test_file_style_box_ul (line 841) | fn test_file_style_box_ul() { function test_file_style_box_ol (line 852) | fn test_file_style_box_ol() { function _do_test_file_style_box (line 861) | fn _do_test_file_style_box(args: &[&str]) { function _do_test_file_style_box_ul (line 877) | fn _do_test_file_style_box_ul(args: &[&str]) { function _do_test_file_style_box_ol (line 892) | fn _do_test_file_style_box_ol(args: &[&str]) { function test_file_style_box_raw (line 909) | fn test_file_style_box_raw() { function test_file_style_underline (line 927) | fn test_file_style_underline() { function _do_test_file_style_underline (line 936) | fn _do_test_file_style_underline(args: &[&str]) { function test_hunk_header_style_raw_no_decoration (line 950) | fn test_hunk_header_style_raw_no_decoration() { function test_hunk_header_style_raw_no_decoration_with_line_numbers (line 967) | fn test_hunk_header_style_raw_no_decoration_with_line_numbers() { function test_color_only_output_is_in_one_to_one_correspondence_with_input (line 993) | fn test_color_only_output_is_in_one_to_one_correspondence_with_input() { function _do_test_output_is_in_one_to_one_correspondence_with_input (line 1090) | fn _do_test_output_is_in_one_to_one_correspondence_with_input(args: &[&s... function test_file_style_with_color_only_has_style (line 1117) | fn test_file_style_with_color_only_has_style() { function test_hunk_header_style_with_color_only_has_style (line 1134) | fn test_hunk_header_style_with_color_only_has_style() { function test_hunk_header_style_with_file (line 1154) | fn test_hunk_header_style_with_file() { function test_hunk_header_style_with_file_no_frag (line 1183) | fn test_hunk_header_style_with_file_no_frag() { function test_commit_style_with_color_only_has_style (line 1206) | fn test_commit_style_with_color_only_has_style() { function test_hunk_header_omit_code_fragment (line 1226) | fn test_hunk_header_omit_code_fragment() { function test_hunk_header_style_colored_input_color_is_stripped_under_normal (line 1241) | fn test_hunk_header_style_colored_input_color_is_stripped_under_normal() { function test_hunk_header_style_colored_input_color_is_preserved_under_raw (line 1260) | fn test_hunk_header_style_colored_input_color_is_preserved_under_raw() { function test_hunk_header_decoration_style_omit (line 1281) | fn test_hunk_header_decoration_style_omit() { function test_hunk_header_decoration_style_none (line 1286) | fn test_hunk_header_decoration_style_none() { function test_hunk_header_decoration_style_empty_string (line 1291) | fn test_hunk_header_decoration_style_empty_string() { function _do_test_hunk_header_style_no_decoration (line 1295) | fn _do_test_hunk_header_style_no_decoration(args: &[&str]) { function test_hunk_header_style_omit (line 1309) | fn test_hunk_header_style_omit() { function test_hunk_header_style_empty_string (line 1318) | fn test_hunk_header_style_empty_string() { function test_hunk_header_style_none (line 1323) | fn test_hunk_header_style_none() { function _do_test_hunk_header_empty_style (line 1327) | fn _do_test_hunk_header_empty_style(args: &[&str]) { function test_hunk_header_style_box (line 1335) | fn test_hunk_header_style_box() { function test_hunk_header_style_box_line_number (line 1340) | fn test_hunk_header_style_box_line_number() { function test_hunk_header_style_box_file_line_number (line 1350) | fn test_hunk_header_style_box_file_line_number() { function test_hunk_header_style_box_file (line 1360) | fn test_hunk_header_style_box_file() { function _do_test_hunk_header_style_box (line 1369) | fn _do_test_hunk_header_style_box(args: &[&str]) { function _do_test_hunk_header_style_box_file (line 1396) | fn _do_test_hunk_header_style_box_file(args: &[&str]) { function _do_test_hunk_header_style_box_file_line_number (line 1423) | fn _do_test_hunk_header_style_box_file_line_number(args: &[&str]) { function test_hunk_header_style_box_raw (line 1451) | fn test_hunk_header_style_box_raw() { function test_hunk_header_style_underline (line 1474) | fn test_hunk_header_style_underline() { function _do_test_hunk_header_style_underline (line 1481) | fn _do_test_hunk_header_style_underline(args: &[&str]) { function test_hunk_header_style_box_with_syntax_highlighting (line 1500) | fn test_hunk_header_style_box_with_syntax_highlighting() { function test_removed_empty_line_highlight (line 1537) | fn test_removed_empty_line_highlight() { function _do_test_removed_empty_line_highlight (line 1549) | fn _do_test_removed_empty_line_highlight( function test_added_empty_line_highlight (line 1565) | fn test_added_empty_line_highlight() { function _do_test_added_empty_line_highlight (line 1577) | fn _do_test_added_empty_line_highlight( function _do_test_empty_line_highlight (line 1592) | fn _do_test_empty_line_highlight( function test_whitespace_error (line 1623) | fn test_whitespace_error() { function test_whitespace_unrelated_edit_text_error (line 1642) | fn test_whitespace_unrelated_edit_text_error() { function test_whitespace_edit_text_error (line 1661) | fn test_whitespace_edit_text_error() { function test_whitespace_added_empty_line_error (line 1679) | fn test_whitespace_added_empty_line_error() { function test_whitespace_after_text_error (line 1700) | fn test_whitespace_after_text_error() { function test_whitespace_complex_error (line 1730) | fn test_whitespace_complex_error() { function test_added_empty_line_is_not_whitespace_error (line 1818) | fn test_added_empty_line_is_not_whitespace_error() { function test_single_character_line_is_not_whitespace_error (line 1831) | fn test_single_character_line_is_not_whitespace_error() { function test_color_only_mode (line 1844) | fn test_color_only_mode() { function test_git_diff_is_unchanged_under_color_only (line 1859) | fn test_git_diff_is_unchanged_under_color_only() { function test_git_diff_U0_is_unchanged_under_color_only (line 1869) | fn test_git_diff_U0_is_unchanged_under_color_only() { function test_git_diff_binary_is_unchanged_under_color_only (line 1878) | fn test_git_diff_binary_is_unchanged_under_color_only() { function test_keep_plus_minus_markers_under_inspect_raw_lines (line 1888) | fn test_keep_plus_minus_markers_under_inspect_raw_lines() { function test_file_mode_change_with_rename (line 1904) | fn test_file_mode_change_with_rename() { function test_file_mode_change_gain_executable_bit (line 1913) | fn test_file_mode_change_gain_executable_bit() { function test_file_mode_change_lose_executable_bit (line 1920) | fn test_file_mode_change_lose_executable_bit() { function test_file_mode_change_unexpected_bits (line 1927) | fn test_file_mode_change_unexpected_bits() { function test_file_deleted_without_preimage (line 1934) | fn test_file_deleted_without_preimage() { function test_files_deleted_without_preimage (line 1941) | fn test_files_deleted_without_preimage() { function test_file_mode_change_with_diff (line 1949) | fn test_file_mode_change_with_diff() { function test_hyperlinks_commit_link_format (line 1965) | fn test_hyperlinks_commit_link_format() { function test_filenames_with_spaces (line 1984) | fn test_filenames_with_spaces() { function test_file_removal_in_log_output (line 1991) | fn test_file_removal_in_log_output() { function test_lines_with_syntax_width_limit (line 1998) | fn test_lines_with_syntax_width_limit() { function test_lines_with_syntax_width_limit_wrapping (line 2036) | fn test_lines_with_syntax_width_limit_wrapping() { function test_lines_with_syntax_width_unicode (line 2086) | fn test_lines_with_syntax_width_unicode() { function test_color_only_diff_filter_zero_style_bg (line 2141) | fn test_color_only_diff_filter_zero_style_bg() { constant GIT_DIFF_OF_WIDTH_81 (line 2160) | const GIT_DIFF_OF_WIDTH_81: &str = r#" constant GIT_DIFF_SINGLE_HUNK (line 2170) | const GIT_DIFF_SINGLE_HUNK: &str = "\ constant GIT_DIFF_SINGLE_HUNK_NO_FRAG (line 2197) | const GIT_DIFF_SINGLE_HUNK_NO_FRAG: &str = "\ constant GIT_DIFF_SINGLE_HUNK_WITH_ANSI_ESCAPE_SEQUENCES (line 2209) | const GIT_DIFF_SINGLE_HUNK_WITH_ANSI_ESCAPE_SEQUENCES: &str = "\ constant GIT_DIFF_SINGLE_HUNK_WITH_SEQUENCE_OF_CR_ESCAPE_SEQUENCES_LF (line 2261) | const GIT_DIFF_SINGLE_HUNK_WITH_SEQUENCE_OF_CR_ESCAPE_SEQUENCES_LF: &str... constant DIFF_IN_DIFF (line 2275) | const DIFF_IN_DIFF: &str = "\ constant ADDED_FILE_INPUT (line 2314) | const ADDED_FILE_INPUT: &str = "\ constant ADDED_EMPTY_FILE (line 2331) | const ADDED_EMPTY_FILE: &str = " constant ADDED_FILES_DIRECTORY_PATH_CONTAINING_SPACE (line 2343) | const ADDED_FILES_DIRECTORY_PATH_CONTAINING_SPACE: &str = " constant MODIFIED_BASH_AND_CSHARP_FILES (line 2366) | const MODIFIED_BASH_AND_CSHARP_FILES: &str = "\ constant MODIFIED_DOCKER_AND_RS_FILES (line 2395) | const MODIFIED_DOCKER_AND_RS_FILES: &str = "\ constant RENAMED_FILE_INPUT (line 2413) | const RENAMED_FILE_INPUT: &str = "\ constant RENAMED_FILE_WITH_CHANGES_INPUT (line 2426) | const RENAMED_FILE_WITH_CHANGES_INPUT: &str = "\ constant DIFF_UNIFIED_TWO_FILES (line 2450) | const DIFF_UNIFIED_TWO_FILES: &str = "\ constant DIFF_UNIFIED_TWO_DIRECTORIES (line 2469) | const DIFF_UNIFIED_TWO_DIRECTORIES: &str = "\ constant DIFF_UNIFIED_CONCATENATED (line 2489) | const DIFF_UNIFIED_CONCATENATED: &str = "\ constant NOT_A_DIFF_OUTPUT (line 2510) | const NOT_A_DIFF_OUTPUT: &str = "\ constant SUBMODULE_DIRTY (line 2520) | const SUBMODULE_DIRTY: &str = "\ constant SUBMODULE_DIFF_LOG (line 2532) | const SUBMODULE_DIFF_LOG: &str = "\ constant SUBMODULE_DIFF_LOG_EXPECTED_OUTPUT (line 2556) | const SUBMODULE_DIFF_LOG_EXPECTED_OUTPUT: &str = "\ constant SUBMODULE_CONTAINS_UNTRACKED_CONTENT_INPUT (line 2586) | const SUBMODULE_CONTAINS_UNTRACKED_CONTENT_INPUT: &str = "\ constant TRIPLE_DASH_AT_BEGINNING_OF_LINE_IN_CODE (line 2601) | const TRIPLE_DASH_AT_BEGINNING_OF_LINE_IN_CODE: &str = "\ constant BINARY_FILES_DIFFER (line 2634) | const BINARY_FILES_DIFFER: &str = " constant BINARY_FILE_ADDED (line 2646) | const BINARY_FILE_ADDED: &str = " constant BINARY_FILE_REMOVED (line 2659) | const BINARY_FILE_REMOVED: &str = " constant BINARY_FILES_DIFFER_AFTER_OTHER (line 2672) | const BINARY_FILES_DIFFER_AFTER_OTHER: &str = " constant BINARY_FILES_DIFFER_BETWEEN_OTHER (line 2682) | const BINARY_FILES_DIFFER_BETWEEN_OTHER: &str = "\ constant DIFF_NO_INDEX_BINARY_FILES_DIFFER (line 2702) | const DIFF_NO_INDEX_BINARY_FILES_DIFFER: &str = "\ constant GIT_DIFF_WITH_COPIED_FILE (line 2708) | const GIT_DIFF_WITH_COPIED_FILE: &str = " constant DIFF_WITH_UNRECOGNIZED_PRECEDING_MATERIAL_1 (line 2723) | const DIFF_WITH_UNRECOGNIZED_PRECEDING_MATERIAL_1: &str = " constant DIFF_WITH_UNRECOGNIZED_PRECEDING_MATERIAL_2 (line 2756) | const DIFF_WITH_UNRECOGNIZED_PRECEDING_MATERIAL_2: &str = " constant DIFF_WITH_MERGE_CONFLICT (line 2791) | const DIFF_WITH_MERGE_CONFLICT: &str = r#" constant DIFF_EXHIBITING_TRUNCATION_BUG (line 2838) | const DIFF_EXHIBITING_TRUNCATION_BUG: &str = r#" constant DIFF_EXHIBITING_STATE_MACHINE_PARSER_BUG (line 2851) | const DIFF_EXHIBITING_STATE_MACHINE_PARSER_BUG: &str = r" constant DIFF_EXHIBITING_PARSE_FILE_NAME_BUG (line 2861) | const DIFF_EXHIBITING_PARSE_FILE_NAME_BUG: &str = r" constant DIFF_WITH_REMOVED_EMPTY_LINE (line 2871) | const DIFF_WITH_REMOVED_EMPTY_LINE: &str = r" constant DIFF_WITH_ADDED_EMPTY_LINE (line 2880) | const DIFF_WITH_ADDED_EMPTY_LINE: &str = r" constant DIFF_WITH_SINGLE_CHARACTER_LINE (line 2889) | const DIFF_WITH_SINGLE_CHARACTER_LINE: &str = r" constant DIFF_WITH_WHITESPACE_ERROR (line 2905) | const DIFF_WITH_WHITESPACE_ERROR: &str = r" constant DIFF_WITH_REMOVED_WHITESPACE_ERROR (line 2915) | const DIFF_WITH_REMOVED_WHITESPACE_ERROR: &str = r" constant DIFF_WITH_WHITESPACE_UNRELATED_EDIT_ERROR (line 2925) | const DIFF_WITH_WHITESPACE_UNRELATED_EDIT_ERROR: &str = r" constant DIFF_WITH_WHITESPACE_EDIT_ERROR (line 2935) | const DIFF_WITH_WHITESPACE_EDIT_ERROR: &str = r" constant DIFF_WITH_WHITESPACE_AFTER_TEXT_ERROR (line 2945) | const DIFF_WITH_WHITESPACE_AFTER_TEXT_ERROR: &str = r" constant DIFF_WITH_REMOVED_WHITESPACE_AFTER_TEXT_ERROR (line 2955) | const DIFF_WITH_REMOVED_WHITESPACE_AFTER_TEXT_ERROR: &str = r" constant DIFF_WITH_ADDED_WHITESPACE_EMPTY_LINE_ERROR (line 2963) | const DIFF_WITH_ADDED_WHITESPACE_EMPTY_LINE_ERROR: &str = r" constant DIFF_WITH_WHITESPACE_COMPLEX_ERROR (line 2978) | const DIFF_WITH_WHITESPACE_COMPLEX_ERROR: &str = r" constant DIFF_WITH_TWO_ADDED_LINES (line 2996) | const DIFF_WITH_TWO_ADDED_LINES: &str = r#" constant DIFF_WITH_TWO_ADDED_LINES_CREATED_BY_GIT_DIFF_U0 (line 3012) | const DIFF_WITH_TWO_ADDED_LINES_CREATED_BY_GIT_DIFF_U0: &str = r#" constant GIT_DIFF_UNDER_COLOR_MOVED_DIMMED_ZEBRA_WITH_ANSI_ESCAPE_SEQUENCES (line 3023) | const GIT_DIFF_UNDER_COLOR_MOVED_DIMMED_ZEBRA_WITH_ANSI_ESCAPE_SEQUENCES... constant GIT_DIFF_FILE_MODE_CHANGE_WITH_RENAME (line 3054) | const GIT_DIFF_FILE_MODE_CHANGE_WITH_RENAME: &str = " constant GIT_DIFF_FILE_MODE_CHANGE_GAIN_EXECUTABLE_BIT (line 3063) | const GIT_DIFF_FILE_MODE_CHANGE_GAIN_EXECUTABLE_BIT: &str = " constant GIT_DIFF_FILE_MODE_CHANGE_LOSE_EXECUTABLE_BIT (line 3069) | const GIT_DIFF_FILE_MODE_CHANGE_LOSE_EXECUTABLE_BIT: &str = " constant GIT_DIFF_FILE_MODE_CHANGE_UNEXPECTED_BITS (line 3075) | const GIT_DIFF_FILE_MODE_CHANGE_UNEXPECTED_BITS: &str = " constant GIT_DIFF_FILE_DELETED_WITHOUT_PREIMAGE (line 3082) | const GIT_DIFF_FILE_DELETED_WITHOUT_PREIMAGE: &str = " constant GIT_DIFF_FILES_DELETED_WITHOUT_PREIMAGE (line 3089) | const GIT_DIFF_FILES_DELETED_WITHOUT_PREIMAGE: &str = " constant GIT_DIFF_FILE_MODE_CHANGE_WITH_DIFF (line 3098) | const GIT_DIFF_FILE_MODE_CHANGE_WITH_DIFF: &str = " constant GIT_DIFF_NO_INDEX_FILENAMES_WITH_SPACES (line 3110) | const GIT_DIFF_NO_INDEX_FILENAMES_WITH_SPACES: &str = " constant GIT_LOG_FILE_REMOVAL_IN_FIRST_COMMIT (line 3120) | const GIT_LOG_FILE_REMOVAL_IN_FIRST_COMMIT: &str = " constant GIT_DIFF_ALL_UNICODE_W_FULLWIDTH (line 3142) | const GIT_DIFF_ALL_UNICODE_W_FULLWIDTH: &str = " FILE: src/tests/test_utils.rs function contains_once (line 3) | pub fn contains_once(s: &str, t: &str) -> bool { function print_with_line_numbers (line 11) | pub fn print_with_line_numbers(s: &str) { function test_contains_once_1 (line 22) | fn test_contains_once_1() { function test_contains_once_2 (line 27) | fn test_contains_once_2() { function test_contains_once_3 (line 32) | fn test_contains_once_3() { function test_contains_once_4 (line 37) | fn test_contains_once_4() { function test_contains_once_5 (line 42) | fn test_contains_once_5() { function test_contains_once_6 (line 47) | fn test_contains_once_6() { FILE: src/utils/bat/assets.rs function load_highlighting_assets (line 12) | pub fn load_highlighting_assets() -> bat::assets::HighlightingAssets { function list_languages (line 17) | pub fn list_languages() -> std::io::Result<()> { FILE: src/utils/bat/dirs.rs type BatProjectDirs (line 13) | pub struct BatProjectDirs { method new (line 18) | fn new() -> Option { method cache_dir (line 33) | pub fn cache_dir(&self) -> &Path { FILE: src/utils/bat/less.rs function retrieve_less_version (line 4) | pub fn retrieve_less_version(less_path: PathBuf) -> Option { function parse_less_version (line 9) | fn parse_less_version(output: &[u8]) -> Option { function test_parse_less_version_487 (line 24) | fn test_parse_less_version_487() { function test_parse_less_version_529 (line 37) | fn test_parse_less_version_529() { function test_parse_less_version_551 (line 50) | fn test_parse_less_version_551() { function test_parse_less_version_wrong_program (line 63) | fn test_parse_less_version_wrong_program() { FILE: src/utils/bat/output.rs type PagerCfg (line 17) | pub struct PagerCfg { method from (line 24) | fn from(cfg: &config::Config) -> Self { method from (line 33) | fn from(cfg: config::Config) -> Self { type PagingMode (line 40) | pub enum PagingMode { constant LESSUTFCHARDEF (line 47) | const LESSUTFCHARDEF: &str = "LESSUTFCHARDEF"; type OutputType (line 50) | pub enum OutputType { method oneshot_write (line 67) | pub fn oneshot_write(data: String) -> io::Result<()> { method from_mode (line 79) | pub fn from_mode( method try_pager (line 95) | fn try_pager( method stdout (line 158) | fn stdout() -> Self { method handle (line 162) | pub fn handle(&mut self) -> Result<&mut dyn Write> { method drop (line 57) | fn drop(&mut self) { function _make_process_from_less_path (line 174) | fn _make_process_from_less_path( function _make_process_from_pager_path (line 239) | fn _make_process_from_pager_path(pager_path: PathBuf, args: &[String]) -... FILE: src/utils/bat/terminal.rs function to_ansi_color (line 6) | pub fn to_ansi_color(color: highlighting::Color, true_color: bool) -> Op... function as_terminal_escaped (line 50) | pub fn as_terminal_escaped( FILE: src/utils/git.rs function retrieve_git_version (line 3) | pub fn retrieve_git_version() -> Option<(usize, usize)> { function parse_git_version (line 12) | fn parse_git_version(output: &[u8]) -> Option<(usize, usize)> { function test_parse_git_version (line 28) | fn test_parse_git_version(#[case] input: &[u8], #[case] expected: Option... FILE: src/utils/helpwrap.rs function wrap (line 23) | pub fn wrap(text: &str, width: usize, indent_with: &str, no_indent: &str... function simple_ascii_can_not_split (line 129) | fn simple_ascii_can_not_split() { function simple_ascii_just_whitespace (line 141) | fn simple_ascii_just_whitespace() { function simple_ascii_can_not_split_plus_whitespace (line 157) | fn simple_ascii_can_not_split_plus_whitespace() { function simple_ascii_keep_leading_input_indent (line 169) | fn simple_ascii_keep_leading_input_indent() { function simple_ascii_indent_and_bullet_points (line 187) | fn simple_ascii_indent_and_bullet_points() { function simple_ascii_all_overlong_after_indent (line 209) | fn simple_ascii_all_overlong_after_indent() { function simple_ascii_one_line (line 220) | fn simple_ascii_one_line() { function simple_ascii_trailing_space (line 234) | fn simple_ascii_trailing_space() { function simple_ascii_two_lines (line 241) | fn simple_ascii_two_lines() { function simple_ascii_no_indent (line 259) | fn simple_ascii_no_indent() { function simple_ascii_no_wrap (line 275) | fn simple_ascii_no_wrap() { function simple_ascii_no_both (line 292) | fn simple_ascii_no_both() { function simple_ascii_no_both_wrong_order (line 309) | fn simple_ascii_no_both_wrong_order() { function simple_ascii_much_whitespace (line 333) | fn simple_ascii_much_whitespace() { FILE: src/utils/mod.rs constant DELTA_ATOMIC_ORDERING (line 15) | pub const DELTA_ATOMIC_ORDERING: std::sync::atomic::Ordering = std::sync... FILE: src/utils/path.rs function absolute_path (line 8) | pub fn absolute_path(relative_path: &str, config: &Config) -> Option(path: P) -> PathBuf function fake_delta_cwd_for_tests (line 109) | pub fn fake_delta_cwd_for_tests() -> PathBuf { FILE: src/utils/process.rs type DeltaPid (line 11) | pub type DeltaPid = u32; type CallingProcess (line 14) | pub enum CallingProcess { method paths_in_input_are_relative_to_cwd (line 34) | pub fn paths_in_input_are_relative_to_cwd(&self) -> bool { constant CALLER_GUESSED (line 30) | const CALLER_GUESSED: usize = 1; constant CALLER_KNOWN (line 31) | const CALLER_KNOWN: usize = 2; type CommandLine (line 48) | pub struct CommandLine { function start_determining_calling_process_in_thread (line 61) | pub fn start_determining_calling_process_in_thread() { function set_calling_process (line 83) | pub fn set_calling_process(args: &[String]) { function calling_process (line 95) | pub fn calling_process() -> MutexGuard<'static, CallingProcess> { function calling_process (line 107) | pub fn calling_process() -> Box { function determine_calling_process (line 126) | fn determine_calling_process() -> CallingProcess { type ProcessArgs (line 134) | pub enum ProcessArgs { function describe_calling_process (line 143) | pub fn describe_calling_process(args: &[String]) -> ProcessArgs bool { function parse_command_line (line 236) | fn parse_command_line<'a>(args: impl Iterator) -> Comman... type ProcInfo (line 263) | struct ProcInfo { method new (line 267) | fn new() -> Self { type ProcActions (line 281) | trait ProcActions { method cmd (line 282) | fn cmd(&self) -> &[String]; method parent (line 283) | fn parent(&self) -> Option; method pid (line 284) | fn pid(&self) -> DeltaPid; method start_time (line 285) | fn start_time(&self) -> u64; method cmd (line 292) | fn cmd(&self) -> &[String] { method parent (line 295) | fn parent(&self) -> Option { method pid (line 298) | fn pid(&self) -> DeltaPid { method start_time (line 301) | fn start_time(&self) -> u64 { method cmd (line 703) | fn cmd(&self) -> &[String] { method parent (line 706) | fn parent(&self) -> Option { method pid (line 709) | fn pid(&self) -> DeltaPid { method start_time (line 712) | fn start_time(&self) -> u64 { type ProcessInterface (line 306) | trait ProcessInterface { method my_pid (line 309) | fn my_pid(&self) -> DeltaPid; method process (line 311) | fn process(&self, pid: DeltaPid) -> Option<&Self::Out>; method processes (line 312) | fn processes(&self) -> &HashMap; method refresh_process (line 314) | fn refresh_process(&mut self, pid: DeltaPid) -> bool; method refresh_processes (line 315) | fn refresh_processes(&mut self); method parent_process (line 317) | fn parent_process(&mut self, pid: DeltaPid) -> Option<&Self::Out> { method naive_sibling_process (line 323) | fn naive_sibling_process(&mut self, pid: DeltaPid) -> Option<&Self::Ou... method find_sibling_in_refreshed_processes (line 328) | fn find_sibling_in_refreshed_processes( type Out (line 402) | type Out = Process; method my_pid (line 404) | fn my_pid(&self) -> DeltaPid { method refresh_process (line 407) | fn refresh_process(&mut self, pid: DeltaPid) -> bool { method process (line 411) | fn process(&self, pid: DeltaPid) -> Option<&Self::Out> { method processes (line 414) | fn processes(&self) -> &HashMap { method refresh_processes (line 417) | fn refresh_processes(&mut self) { type Out (line 741) | type Out = FakeProc; method my_pid (line 743) | fn my_pid(&self) -> DeltaPid { method process (line 746) | fn process(&self, pid: DeltaPid) -> Option<&Self::Out> { method processes (line 749) | fn processes(&self) -> &HashMap { method refresh_processes (line 752) | fn refresh_processes(&mut self) {} method refresh_process (line 753) | fn refresh_process(&mut self, _pid: DeltaPid) -> bool { function calling_process_cmdline (line 423) | fn calling_process_cmdline(mut info: P, extract_args: F) -> Opt... function iter_parents (line 535) | fn iter_parents(info: &P, starting_pid: DeltaPid, f: F) type TlsState (line 573) | enum TlsState { type FakeParentArgs (line 590) | pub struct FakeParentArgs {} method once (line 592) | pub fn once(args: &str) -> Self { method for_scope (line 595) | pub fn for_scope(args: &str) -> Self { method new (line 598) | fn new(args: &str, initial: F, from_: &str) -> Self method with (line 608) | pub fn with(args: &[&str]) -> Self { method get (line 622) | pub fn get() -> Option> { method are_set (line 644) | pub fn are_set() -> bool { method error (line 649) | fn error(where_: &str) { method drop (line 666) | fn drop(&mut self) { type FakeProc (line 684) | struct FakeProc { method new (line 692) | fn new(pid: DeltaPid, start_time: u64, cmd: Vec, ppid: Option<... type MockProcInfo (line 718) | struct MockProcInfo { method with (line 723) | fn with(processes: &[(DeltaPid, u64, &str, Option)]) -> Self { function set (line 758) | fn set(arg1: &[&str]) -> HashSet { function test_process_testing (line 763) | fn test_process_testing() { function test_process_testing_assert (line 801) | fn test_process_testing_assert() { function test_process_testing_assert_once_never_used (line 816) | fn test_process_testing_assert_once_never_used() { function test_process_testing_assert_for_scope_never_used (line 822) | fn test_process_testing_assert_for_scope_never_used() { function test_process_testing_assert_once_never_used2 (line 829) | fn test_process_testing_assert_once_never_used2() { function test_process_testing_scope_can_remain_unused (line 835) | fn test_process_testing_scope_can_remain_unused() { function test_process_testing_n_times (line 840) | fn test_process_testing_n_times() { function test_process_testing_n_times_unused (line 863) | fn test_process_testing_n_times_unused() { function test_process_testing_n_times_underused (line 869) | fn test_process_testing_n_times_underused() { function test_process_testing_n_times_overused (line 883) | fn test_process_testing_n_times_overused() { function test_describe_calling_process_blame (line 897) | fn test_describe_calling_process_blame() { function test_describe_calling_process_grep (line 1103) | fn test_describe_calling_process_grep() { function test_describe_calling_process_git_show (line 1184) | fn test_describe_calling_process_git_show() { function test_process_calling_cmdline (line 1217) | fn test_process_calling_cmdline() { FILE: src/utils/regex_replacement.rs type RegexReplacement (line 6) | pub struct RegexReplacement { method from_sed_command (line 13) | pub fn from_sed_command(sed_command: &str) -> Option { method execute (line 52) | pub fn execute<'t>(&self, s: &'t str) -> Cow<'t, str> { function test_sed_command (line 66) | fn test_sed_command() { function test_sed_command_i_flag (line 76) | fn test_sed_command_i_flag() { function test_sed_command_g_flag (line 86) | fn test_sed_command_g_flag() { function test_sed_command_with_named_captures (line 96) | fn test_sed_command_with_named_captures() { function test_sed_command_invalid (line 103) | fn test_sed_command_invalid() { FILE: src/utils/round_char_boundary.rs function is_utf8_char_boundary (line 6) | const fn is_utf8_char_boundary(b: u8) -> bool { function floor_char_boundary (line 12) | pub fn floor_char_boundary(s: &str, index: usize) -> usize { FILE: src/utils/syntect.rs function syntect_color_from_ansi_name (line 8) | pub fn syntect_color_from_ansi_name(name: &str) -> Option { function syntect_color_from_name (line 12) | pub fn syntect_color_from_name(name: &str) -> Option { function syntect_color_from_ansi_number (line 23) | pub fn syntect_color_from_ansi_number(n: u8) -> Option { type FromAnsiTermStyle (line 27) | pub trait FromAnsiTermStyle { method from_ansi_term_style (line 28) | fn from_ansi_term_style(ansi_term_style: ansi_term::Style) -> Self; method from_ansi_term_style (line 32) | fn from_ansi_term_style(ansi_term_style: ansi_term::Style) -> Self { method from_ansi_term_style (line 51) | fn from_ansi_term_style(ansi_term_style: ansi_term::Style) -> Self { type FromAnsiTermColor (line 66) | pub trait FromAnsiTermColor { method from_ansi_term_color (line 67) | fn from_ansi_term_color(ansi_term_color: ansi_term::Color) -> Self; method from_ansi_term_color (line 71) | fn from_ansi_term_color(ansi_term_color: ansi_term::Color) -> Self { type FromDeltaStyle (line 87) | pub trait FromDeltaStyle { method from_delta_style (line 88) | fn from_delta_style(delta_style: delta_style::Style) -> Self; method from_delta_style (line 92) | fn from_delta_style(delta_style: delta_style::Style) -> Self { FILE: src/utils/tabs.rs type TabCfg (line 4) | pub struct TabCfg { method new (line 9) | pub fn new(width: usize) -> Self { method width (line 14) | pub fn width(&self) -> usize { method replace (line 17) | pub fn replace(&self) -> bool { function expand (line 23) | pub fn expand(line: &str, tab_cfg: &TabCfg) -> String { function remove_prefix_and_expand (line 32) | pub fn remove_prefix_and_expand(prefix: usize, line: &str, tab_cfg: &Tab... function test_remove_prefix_and_expand (line 50) | fn test_remove_prefix_and_expand() { FILE: src/utils/workarounds.rs constant NO_WORKAROUNDS (line 2) | const NO_WORKAROUNDS: &str = "DELTA_NO_WORKAROUNDS"; function windows_msys2_width_fix (line 8) | pub fn windows_msys2_width_fix(height_width: (u16, u16), term_stdout: &c... function windows_msys2_width_fix (line 57) | pub fn windows_msys2_width_fix(height_width: (u16, u16), _: &console::Te... FILE: src/wrapping.rs type WrapConfig (line 21) | pub struct WrapConfig { method from_opt (line 35) | pub fn from_opt(opt: &cli::Opt, inline_hint_style: Style) -> Self { method config_max_line_length (line 68) | pub fn config_max_line_length( function remove_percent_suffix (line 93) | fn remove_percent_suffix(arg: &str) -> &str { function ensure_display_width_1 (line 100) | fn ensure_display_width_1(what: &str, arg: String) -> String { function adapt_wrap_max_lines_argument (line 109) | fn adapt_wrap_max_lines_argument(arg: String) -> usize { type Stop (line 120) | enum Stop { function wrap_line (line 136) | pub fn wrap_line<'a, I, S>( function wrap_if_too_long (line 348) | fn wrap_if_too_long<'a, S>( function wrap_minusplus_block (line 381) | pub fn wrap_minusplus_block<'c: 'a, 'a>( function wrap_zero_block (line 579) | pub fn wrap_zero_block<'c: 'a, 'a>( constant W (line 682) | const W: &str = "+"; constant WR (line 683) | const WR: &str = "<"; constant RA (line 684) | const RA: &str = ">"; function default_wrap_cfg_plus (line 706) | fn default_wrap_cfg_plus<'a>(args: &[&'a str]) -> Vec<&'a str> { function mk_wrap_cfg (line 712) | fn mk_wrap_cfg(wrap_cfg: &WrapConfig) -> Config { function wrap_test (line 718) | fn wrap_test<'a, I, S>(cfg: &'a Config, line: I, line_width: usize) -> V... function test_wrap_line_single (line 728) | fn test_wrap_line_single() { function test_wrap_line_align_right_1 (line 796) | fn test_wrap_line_align_right_1() { function test_wrap_line_align_right_2 (line 807) | fn test_wrap_line_align_right_2() { function test_wrap_line_newlines (line 839) | fn test_wrap_line_newlines() { function test_wrap_line_unicode (line 941) | fn test_wrap_line_unicode() { constant HUNK_ZERO_DIFF (line 976) | const HUNK_ZERO_DIFF: &str = "\ constant HUNK_ZERO_LARGE_LINENUMBERS_DIFF (line 987) | const HUNK_ZERO_LARGE_LINENUMBERS_DIFF: &str = "\ constant HUNK_MP_DIFF (line 998) | const HUNK_MP_DIFF: &str = "\ constant HUNK_ALIGN_DIFF_HEADER (line 1009) | const HUNK_ALIGN_DIFF_HEADER: &str = "--- a\n+++ b\n@@ -1,1 +1,1 @@\n"; constant HUNK_ALIGN_DIFF_SHORT (line 1010) | const HUNK_ALIGN_DIFF_SHORT: &str = ".........1.........2....\n"; constant HUNK_ALIGN_DIFF_LONG (line 1011) | const HUNK_ALIGN_DIFF_LONG: &str = function test_wrap_with_unequal_hunk_zero_width (line 1015) | fn test_wrap_with_unequal_hunk_zero_width() { function test_wrap_with_large_hunk_zero_line_numbers (line 1041) | fn test_wrap_with_large_hunk_zero_line_numbers() { function test_wrap_with_keep_markers (line 1067) | fn test_wrap_with_keep_markers() { function test_alignment_2_lines_vs_3_lines (line 1100) | fn test_alignment_2_lines_vs_3_lines() { function test_alignment_1_line_vs_3_lines (line 1133) | fn test_alignment_1_line_vs_3_lines() { function test_wrap_max_lines_2 (line 1170) | fn test_wrap_max_lines_2() {