SYMBOL INDEX (223 symbols across 24 files) FILE: pkg/brew/mcfly.rb class Mcfly (line 9) | class Mcfly < Formula method install (line 23) | def install method caveats (line 27) | def caveats FILE: src/cli.rs type Cli (line 8) | pub struct Cli { method is_init (line 227) | pub fn is_init(&self) -> bool { type SubCommand (line 35) | pub enum SubCommand { type HistoryFormat (line 192) | pub enum HistoryFormat { type InitMode (line 201) | pub enum InitMode { type SortOrder (line 210) | pub enum SortOrder { method to_str (line 235) | pub fn to_str(&self) -> &'static str { type DumpFormat (line 219) | pub enum DumpFormat { FILE: src/command_input.rs type InputCommand (line 5) | pub enum InputCommand { type Move (line 13) | pub enum Move { type CommandInput (line 25) | pub struct CommandInput { method fmt (line 35) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method from (line 41) | pub fn from>(s: S) -> CommandInput { method clear (line 52) | pub fn clear(&mut self) { method set (line 57) | pub fn set(&mut self, str: &str) { method move_cursor (line 62) | pub fn move_cursor(&mut self, direction: Move) { method delete (line 83) | pub fn delete(&mut self, cmd: Move) { method insert (line 190) | pub fn insert(&mut self, c: char) { method recompute_caches (line 211) | fn recompute_caches(&mut self) { method previous_word_boundary (line 217) | fn previous_word_boundary(&self) -> usize { method next_word_boundary (line 266) | fn next_word_boundary(&self) -> usize { function display_works (line 310) | fn display_works() { function next_word_boundary_works (line 316) | fn next_word_boundary_works() { function previous_word_boundary_works (line 344) | fn previous_word_boundary_works() { FILE: src/dumper.rs type Dumper (line 9) | pub struct Dumper<'a> { function new (line 16) | pub fn new(settings: &'a Settings, history: &'a History) -> Self { function dump (line 20) | pub fn dump(&self) { function dump2json (line 42) | fn dump2json(commands: &[DumpCommand]) -> io::Result<()> { function dump2csv (line 48) | fn dump2csv(commands: &[DumpCommand]) -> io::Result<()> { FILE: src/fake_typer.rs function ioctl (line 7) | pub fn ioctl(fd: libc::c_int, request: libc::c_ulong, arg: ...) -> libc:... function use_tiocsti (line 12) | pub fn use_tiocsti(string: &str) { function use_tiocsti (line 23) | pub fn use_tiocsti(string: &str) { FILE: src/fixed_length_grapheme_string.rs type FixedLengthGraphemeString (line 5) | pub struct FixedLengthGraphemeString { method empty (line 25) | pub fn empty(max_grapheme_length: u16) -> FixedLengthGraphemeString { method new (line 33) | pub fn new>(s: S, max_grapheme_length: u16) -> FixedLe... method push_grapheme_str (line 40) | pub fn push_grapheme_str>(&mut self, s: S) { method push_str (line 50) | pub fn push_str(&mut self, s: &str) { method write (line 12) | fn write(&mut self, buf: &[u8]) -> std::io::Result { method flush (line 18) | fn flush(&mut self) -> std::io::Result<()> { function length_works (line 60) | fn length_works() { function max_length_works (line 66) | fn max_length_works() { FILE: src/history/db_extensions.rs function add_db_functions (line 6) | pub fn add_db_functions(db: &Connection) { FILE: src/history/history.rs type Features (line 22) | pub struct Features { type Command (line 36) | pub struct Command { method fmt (line 59) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type DumpCommand (line 52) | pub struct DumpCommand { method from (line 65) | fn from(command: Command) -> Self { function ser_to_datetime (line 71) | fn ser_to_datetime(when_run: &i64, serializer: S) -> Result History { method should_add (line 107) | pub fn should_add(&self, command: &str) -> bool { method add (line 137) | pub fn add( method determine_if_selected_from_ui (line 162) | fn determine_if_selected_from_ui(&self, command: &str, session_id: &st... method record_selected_from_ui (line 193) | pub fn record_selected_from_ui(&self, command: &str, session_id: &str,... method possibly_update_paths (line 203) | pub fn possibly_update_paths(&self, command: &str, exit_code: Option bool { method calc_match_indices (line 441) | fn calc_match_indices(text: &str, cmd: &str, fuzzy: i16) -> Vec { method build_cache_table (line 474) | pub fn build_cache_table( method commands (line 645) | pub fn commands( method run_query (line 692) | pub fn run_query(&self, query: &str, params: &[(&str, &dyn ToSql... method last_command (line 710) | pub fn last_command(&self, session_id: &Option) -> Option Vec History { method from_db_path (line 918) | fn from_db_path(path: PathBuf) -> History { constant IGNORED_COMMANDS (line 84) | const IGNORED_COMMANDS: [&str; 7] = [ FILE: src/history/schema.rs constant CURRENT_SCHEMA_VERSION (line 6) | pub const CURRENT_SCHEMA_VERSION: u16 = 3; function first_time_setup (line 8) | pub fn first_time_setup(connection: &Connection) { function migrate (line 13) | pub fn migrate(connection: &Connection) { function make_schema_versions_table (line 91) | fn make_schema_versions_table(connection: &Connection) { function write_current_schema_version (line 106) | fn write_current_schema_version(connection: &Connection) { function cmd_strings (line 115) | fn cmd_strings(connection: &Connection) -> Vec<(i64, String)> { FILE: src/history_cleaner.rs function clean (line 8) | pub fn clean(settings: &Settings, history: &History, command: &str) { function clean_temporary_files (line 38) | fn clean_temporary_files(mcfly_history: &Path, history_format: HistoryFo... FILE: src/init.rs type Init (line 4) | pub struct Init {} method new (line 7) | pub fn new(init_mode: &InitMode) -> Self { method init_bash (line 24) | pub fn init_bash() { method init_zsh (line 28) | pub fn init_zsh() { method init_fish (line 32) | pub fn init_fish() { method init_pwsh (line 36) | pub fn init_pwsh() { FILE: src/interface.rs type Interface (line 20) | pub struct Interface<'a> { type SelectionResult (line 35) | pub struct SelectionResult { type MoveSelection (line 44) | pub enum MoveSelection { type MenuMode (line 50) | pub enum MenuMode { method text (line 56) | fn text(&self, interface: &Interface) -> String { method bg (line 95) | fn bg(&self, normal: Color) -> Color { constant PROMPT_LINE_INDEX (line 103) | const PROMPT_LINE_INDEX: u16 = 3; constant INFO_LINE_INDEX (line 104) | const INFO_LINE_INDEX: u16 = 1; constant RESULTS_TOP_INDEX (line 105) | const RESULTS_TOP_INDEX: u16 = 5; function new (line 108) | pub fn new(settings: &'a Settings, history: &'a History) -> Interface<'a> { function display (line 125) | pub fn display(&mut self) -> SelectionResult { function build_cache_table (line 152) | fn build_cache_table(&self) { function menubar (line 164) | fn menubar(&self, screen: &mut W) { function prompt (line 187) | fn prompt(&self, screen: &mut W) { function debug_cursor (line 206) | fn debug_cursor(&self, screen: &mut W) { function results (line 216) | fn results(&mut self, screen: &mut W) { function debug (line 353) | fn debug>(&self, screen: &mut W, s: S) { function move_selection (line 365) | fn move_selection(&mut self, direction: MoveSelection) { function accept_selection (line 391) | fn accept_selection(&mut self) { function confirm (line 397) | fn confirm(&mut self, confirmation: bool) { function delete_selection (line 404) | fn delete_selection(&mut self) { function refresh_matches (line 416) | fn refresh_matches(&mut self, reset_selection: bool) { function switch_result_sort (line 428) | fn switch_result_sort(&mut self) { function switch_result_filter (line 435) | fn switch_result_filter(&mut self) { function select (line 443) | fn select(&mut self) { function select_with_emacs_key_scheme (line 523) | fn select_with_emacs_key_scheme(&mut self, event: Event) -> bool { function handle_emacs_keyevent (line 537) | fn handle_emacs_keyevent(&mut self, event: KeyEvent) -> bool { function select_with_vim_key_scheme (line 719) | fn select_with_vim_key_scheme(&mut self, event: KeyEvent) -> bool { function truncate_for_display (line 983) | fn truncate_for_display( function result_top_index (line 1050) | fn result_top_index(&self) -> u16 { function prompt_line_index (line 1059) | fn prompt_line_index(&self) -> u16 { function info_line_index (line 1067) | fn info_line_index(&self) -> u16 { function command_line_index (line 1075) | fn command_line_index(&self, index: i16) -> i16 { function is_screen_view_bottom (line 1082) | fn is_screen_view_bottom(&self) -> bool { FILE: src/main.rs function handle_addition (line 16) | fn handle_addition(settings: &Settings) { function handle_search (line 45) | fn handle_search(settings: &Settings) { function handle_train (line 86) | fn handle_train(settings: &Settings) { function handle_move (line 91) | fn handle_move(settings: &Settings) { function handle_init (line 96) | fn handle_init(settings: &Settings) { function handle_dump (line 100) | fn handle_dump(settings: &Settings) { function handle_stats (line 105) | fn handle_stats(settings: &Settings) { function main (line 111) | fn main() { FILE: src/network.rs type Network (line 8) | pub struct Network { method random (line 74) | pub fn random() -> Network { method compute (line 92) | pub fn compute(&mut self, features: &Features) { method dot (line 103) | pub fn dot(&self, features: &Features) -> f64 { method output (line 113) | pub fn output(&self, features: &Features) -> f64 { method average_error (line 118) | pub fn average_error(&self, generator: &TrainingSampleGenerator, recor... method default (line 19) | fn default() -> Network { FILE: src/node.rs type Node (line 6) | pub struct Node { method random (line 22) | pub fn random() -> Node { method dot (line 41) | pub fn dot(&self, features: &Features) -> f64 { method output (line 56) | pub fn output(&self, features: &Features) -> f64 { function test_dot (line 66) | fn test_dot() { FILE: src/path_update_helpers.rs function normalize_path (line 7) | pub fn normalize_path(incoming_path: &str) -> String { function parse_mv_command (line 18) | pub fn parse_mv_command(command: &str) -> Vec { function normalize_path_works_absolute_paths (line 98) | fn normalize_path_works_absolute_paths() { function normalize_path_works_with_tilda (line 106) | fn normalize_path_works_with_tilda() { function normalize_path_works_with_double_dots (line 118) | fn normalize_path_works_with_double_dots() { function windows_home_path (line 133) | fn windows_home_path() -> String { function normalize_path_works_absolute_paths (line 143) | fn normalize_path_works_absolute_paths() { function normalize_path_works_with_tilda (line 154) | fn normalize_path_works_with_tilda() { function normalize_path_works_with_double_dots (line 166) | fn normalize_path_works_with_double_dots() { function parse_mv_command_works_in_the_basic_case (line 190) | fn parse_mv_command_works_in_the_basic_case() { function parse_mv_command_works_with_options (line 198) | fn parse_mv_command_works_with_options() { function parse_mv_command_works_with_escaped_strings (line 206) | fn parse_mv_command_works_with_escaped_strings() { function parse_mv_command_works_with_escaping (line 218) | fn parse_mv_command_works_with_escaping() { FILE: src/settings.rs type Mode (line 18) | pub enum Mode { type KeyScheme (line 29) | pub enum KeyScheme { type InitMode (line 35) | pub enum InitMode { type InterfaceView (line 43) | pub enum InterfaceView { type ResultSort (line 49) | pub enum ResultSort { type ResultFilter (line 55) | pub enum ResultFilter { type HistoryFormat (line 61) | pub enum HistoryFormat { type TimeRange (line 84) | pub struct TimeRange { method is_full (line 743) | pub fn is_full(&self) -> bool { type Colors (line 90) | pub struct Colors { type DarkModeColors (line 98) | pub struct DarkModeColors { type LightModeColors (line 110) | pub struct LightModeColors { type Settings (line 122) | pub struct Settings { method parse_args (line 230) | pub fn parse_args() -> Settings { method load_config (line 498) | pub fn load_config(&mut self) { method merge_config (line 508) | pub fn merge_config(&mut self, config_map: HashMap) { method mcfly_training_cache_path (line 661) | pub fn mcfly_training_cache_path() -> PathBuf { method mcfly_db_path (line 669) | pub fn mcfly_db_path() -> PathBuf { method mcfly_config_path (line 681) | pub fn mcfly_config_path() -> PathBuf { method mcfly_xdg_dir (line 687) | fn mcfly_xdg_dir() -> ProjectDirs { method mcfly_base_path (line 691) | fn mcfly_base_path(base_dir: PathBuf) -> PathBuf { method mcfly_dir_in_home (line 695) | fn mcfly_dir_in_home() -> Option { method default (line 163) | fn default() -> Settings { function pwd (line 707) | pub fn pwd() -> String { function pwd (line 713) | pub fn pwd() -> String { function is_env_var_truthy (line 725) | fn is_env_var_truthy(name: &str) -> bool { FILE: src/shell_history.rs function read_ignoring_utf_errors (line 15) | fn read_ignoring_utf_errors(path: &Path) -> String { function read_and_unmetafy (line 25) | fn read_and_unmetafy(path: &Path) -> String { function has_leading_timestamp (line 41) | fn has_leading_timestamp(line: &str) -> bool { function history_file_path (line 58) | pub fn history_file_path() -> PathBuf { type HistoryCommand (line 75) | pub struct HistoryCommand { method new (line 85) | pub fn new(command: S, when: i64, format: HistoryFormat) -> Self method fmt (line 98) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function full_history (line 114) | pub fn full_history(path: &Path, history_format: HistoryFormat) -> Vec ... function delete_last_history_entry_if_search (line 183) | pub fn delete_last_history_entry_if_search( function delete_lines (line 225) | pub fn delete_lines(path: &Path, history_format: HistoryFormat, command:... function append_history_entry (line 242) | pub fn append_history_entry(command: &HistoryCommand, path: &Path, debug... function has_leading_timestamp_works (line 266) | fn has_leading_timestamp_works() { FILE: src/simplified_command.rs constant TRUNCATE_TO_N_TOKENS (line 3) | const TRUNCATE_TO_N_TOKENS: u16 = 2; type SimplifiedCommand (line 6) | pub struct SimplifiedCommand { method new (line 19) | pub fn new>(command: S, truncate: bool) -> SimplifiedC... method simplify (line 29) | fn simplify(&mut self) { function it_works_for_simple_commands (line 99) | fn it_works_for_simple_commands() { function it_simplifies_simple_quoted_strings (line 111) | fn it_simplifies_simple_quoted_strings() { function it_handles_one_level_of_quote_escaping (line 126) | fn it_handles_one_level_of_quote_escaping() { function it_ignores_escaping_otherwise (line 133) | fn it_ignores_escaping_otherwise() { function it_simplifies_obvious_paths (line 139) | fn it_simplifies_obvious_paths() { function it_ignores_leading_paths (line 170) | fn it_ignores_leading_paths() { function it_truncates_after_simplification (line 182) | fn it_truncates_after_simplification() { FILE: src/stats_generator.rs type StatsGenerator (line 10) | pub struct StatsGenerator<'a> { type StatItem (line 15) | struct StatItem { function generate_stats (line 23) | pub fn generate_stats(&self, settings: &Settings) -> String { function generate_command_stats (line 61) | fn generate_command_stats(&self, cmds: i16, stats: Vec) -> Str... function most_used_commands (line 99) | fn most_used_commands( function new (line 216) | pub fn new(history: &'a History) -> Self { function count_commands_from_db_history (line 219) | fn count_commands_from_db_history(&self, dir: &Option) -> i32 { FILE: src/time.rs function parse_timestamp (line 4) | pub fn parse_timestamp(s: &str) -> i64 { function to_datetime (line 13) | pub fn to_datetime(timestamp: i64) -> String { FILE: src/trainer.rs type Trainer (line 9) | pub struct Trainer<'a> { function new (line 15) | pub fn new(settings: &'a Settings, history: &'a mut History) -> Trainer<... function train (line 19) | pub fn train(&mut self) { FILE: src/training_cache.rs function write (line 7) | pub fn write(data_set: &[(Features, bool)], cache_path: &Path) { function read (line 18) | pub fn read(cache_path: &Path) -> Vec<(Features, bool)> { function output_header (line 48) | fn output_header(writer: &mut Writer) { function output_row (line 69) | fn output_row(writer: &mut Writer, features: &Features, correct: b... FILE: src/training_sample_generator.rs type TrainingSampleGenerator (line 10) | pub struct TrainingSampleGenerator { method new (line 15) | pub fn new(settings: &Settings, history: &History) -> TrainingSampleGe... method generate_data_set (line 33) | pub fn generate_data_set(history: &History) -> Vec<(Features, bool)> { method generate (line 100) | pub fn generate(&self, records: Option, mut handler: F)