Skip to main content

Module checks

Module checks 

Source
Expand description

Individual diagnostic check functions.

Each function performs a single diagnostic check and returns a CheckResult.

Structs§

CheckResult
Result of a single diagnostic check.

Enums§

CheckStatus
Status of a diagnostic check.

Functions§

check_config_valid
Validate the configuration file via ConfigLoader.
check_data_dir_permissions
Verify the data directory has correct read+write permissions.
check_rc_file_writable
Check if the shell RC file is writable.
check_rec_in_path
Verify the rec binary is in a standard PATH location.
check_rec_version
Report the rec binary version (always Pass, informational).
check_shell_detected
Detect the current shell via Shell::detect().
check_shell_hooks_installed
Check if shell hooks are installed by scanning RC files for rec init.
check_storage_dir_exists
Check if the data directory exists.
check_storage_writable
Check if the data directory is writable by creating and removing a test file.