Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davidhfrankelcodes/rwatch
/ functions
Functions
87 in github.com/davidhfrankelcodes/rwatch
⨍
Functions
87
◇
Types & classes
0
↓ 56 callers
Function
run_rwatch
(args: &[&str])
tests/integration_tests.rs:12
↓ 35 callers
Function
echo_cmd
Returns a single-element command list that rwatch passes verbatim to the shell. On Windows: rwatch runs cmd /S /C "echo TEXT" → TEXT On Linux/Mac:
tests/integration_tests.rs:65
↓ 21 callers
Function
strip_terminal_codes
Strip ANSI / VT100 CSI escape sequences (ESC [ ... letter) from a string. Used to normalize test output when rwatch emits terminal control codes.
tests/integration_tests.rs:35
↓ 4 callers
Function
exit_cmd
Returns a single-element exit command.
tests/integration_tests.rs:70
↓ 3 callers
Function
run_rwatch_with_env
(args: &[&str], key: &str, val: &str)
tests/integration_tests.rs:22
↓ 1 callers
Function
exec_echo_cmd
(text: &str)
tests/integration_tests.rs:77
Function
has_diff_line
Returns true if any line in `output` starts with `prefix` char and whose trimmed remainder equals `text`.
tests/integration_tests.rs:87
Function
main
()
src/main.rs:22
Function
rwatch_runs_and_exits
()
tests/integration_tests.rs:118
Function
test_basic_echo
()
tests/integration_tests.rs:128
Function
test_beep_flag_no_crash
()
tests/integration_tests.rs:436
Function
test_beep_not_emitted_on_success
()
tests/integration_tests.rs:1050
Function
test_beep_on_failure_emits_bel
()
tests/integration_tests.rs:1032
Function
test_chained_commands_ampamp
()
tests/integration_tests.rs:511
Function
test_chained_commands_semicolon
()
tests/integration_tests.rs:524
Function
test_chgexit_flag
()
tests/integration_tests.rs:254
Function
test_cli_interval_overrides_env_var
()
tests/integration_tests.rs:411
Function
test_color_flag
()
tests/integration_tests.rs:212
Function
test_combined_no_title_no_wrap
()
tests/integration_tests.rs:974
Function
test_diff_flag
()
tests/integration_tests.rs:140
Function
test_diff_permanent_basic
()
tests/integration_tests.rs:152
Function
test_diff_second_run_shows_same_lines
()
tests/integration_tests.rs:842
Function
test_diff_with_chgexit_shows_added
()
tests/integration_tests.rs:891
Function
test_diff_with_empty_output_no_crash
()
tests/integration_tests.rs:907
Function
test_echo_cmd_helper_format
()
tests/integration_tests.rs:658
Function
test_empty_stdout_no_crash
()
tests/integration_tests.rs:568
Function
test_equexit_1_runs_twice
()
tests/integration_tests.rs:918
Function
test_equexit_flag
()
tests/integration_tests.rs:264
Function
test_equexit_output_appears_multiple_times
()
tests/integration_tests.rs:989
Function
test_equexit_success_exits_zero
()
tests/integration_tests.rs:295
Function
test_exec_flag
()
tests/integration_tests.rs:424
Function
test_exec_multiple_args_passed_through
()
tests/integration_tests.rs:940
Function
test_exit_cmd_helper_format
()
tests/integration_tests.rs:665
Function
test_exit_code_2_propagated
()
tests/integration_tests.rs:1067
Function
test_exit_code_42_propagated
()
tests/integration_tests.rs:305
Function
test_exit_code_nonzero_on_failure
()
tests/integration_tests.rs:285
Function
test_exit_code_zero_on_success
()
tests/integration_tests.rs:275
Function
test_has_diff_line_empty_output_always_false
()
tests/integration_tests.rs:718
Function
test_has_diff_line_no_false_positives
()
tests/integration_tests.rs:736
Function
test_has_diff_line_only_prefix_char_matches_empty_text
()
tests/integration_tests.rs:725
Function
test_has_diff_line_unit
()
tests/integration_tests.rs:97
Function
test_help_flag
()
tests/integration_tests.rs:746
Function
test_interval_zero_clamps_to_minimum
()
tests/integration_tests.rs:796
Function
test_long_line_no_panic
()
tests/integration_tests.rs:343
Function
test_multiline_output
()
tests/integration_tests.rs:536
Function
test_multiple_iterations_timing
()
tests/integration_tests.rs:462
Function
test_no_color_strips_ansi
()
tests/integration_tests.rs:223
Function
test_no_command_exits_nonzero
()
tests/integration_tests.rs:782
Function
test_no_title_flag
()
tests/integration_tests.rs:320
Function
test_no_wrap_flag
()
tests/integration_tests.rs:330
Function
test_permanent_diff_first_run_is_base
()
tests/integration_tests.rs:167
Function
test_permanent_diff_stable_across_two_runs
()
tests/integration_tests.rs:867
Function
test_powershell_diff_flag
()
tests/integration_tests.rs:1131
Function
test_powershell_exit_code
()
tests/integration_tests.rs:613
Function
test_powershell_flag
()
tests/integration_tests.rs:604
Function
test_powershell_multiline_output
()
tests/integration_tests.rs:1101
Function
test_powershell_no_title
()
tests/integration_tests.rs:1117
Function
test_powershell_overrides_cmd
()
tests/integration_tests.rs:625
Function
test_powershell_pipeline
()
tests/integration_tests.rs:1085
Function
test_powershell_working_directory_inherited
()
tests/integration_tests.rs:640
Function
test_precise_mode_no_crash
()
tests/integration_tests.rs:447
Function
test_precise_multiple_iterations_timing
()
tests/integration_tests.rs:1010
Function
test_regular_diff_first_run_is_added
()
tests/integration_tests.rs:190
Function
test_shell_pipeline
()
tests/integration_tests.rs:489
Function
test_stderr_not_captured_in_output
()
tests/integration_tests.rs:551
Function
test_strip_terminal_codes_empty_string
()
tests/integration_tests.rs:673
Function
test_strip_terminal_codes_esc_not_csi_drops_only_esc
()
tests/integration_tests.rs:700
Function
test_strip_terminal_codes_multiple_consecutive_sequences
()
tests/integration_tests.rs:684
Function
test_strip_terminal_codes_no_escapes_unchanged
()
tests/integration_tests.rs:678
Function
test_strip_terminal_codes_trailing_esc_no_panic
()
tests/integration_tests.rs:709
Function
test_strip_terminal_codes_unicode_chars_preserved
()
tests/integration_tests.rs:692
Function
test_strip_terminal_codes_unit
()
tests/integration_tests.rs:107
Function
test_title_format
()
tests/integration_tests.rs:382
Function
test_title_shows_command
()
tests/integration_tests.rs:364
Function
test_title_shows_default_two_second_interval
()
tests/integration_tests.rs:807
Function
test_title_shows_interval
()
tests/integration_tests.rs:353
Function
test_unicode_long_line_no_crash
()
tests/integration_tests.rs:963
Function
test_unix_command_not_found_exits_nonzero
()
tests/integration_tests.rs:1208
Function
test_unix_exec_flag_no_shell_expansion
()
tests/integration_tests.rs:1164
Function
test_unix_printf_multiline
()
tests/integration_tests.rs:1192
Function
test_unix_stderr_isolated_from_stdout
()
tests/integration_tests.rs:1221
Function
test_unix_subshell_expansion
()
tests/integration_tests.rs:1178
Function
test_version_flag
()
tests/integration_tests.rs:764
Function
test_watch_interval_env_invalid_falls_back_to_default
()
tests/integration_tests.rs:822
Function
test_watch_interval_env_var
()
tests/integration_tests.rs:399
Function
test_windows_exec_flag_with_cmd_binary
()
tests/integration_tests.rs:1148
Function
test_working_directory_inherited
()
tests/integration_tests.rs:580