Module utils

Source

Traits§

Escapable
Extension trait for anything that can behave like a string to make it easy to escape control characters.

Functions§

config_dir
crypto_random_bytes
Generate N random bytes, using a cryptographically secure source
crypto_random_string
Generate N random bytes using a cryptographically secure source, return encoded as a string
data_dir
dotfiles_cache_dir
get_current_dir
has_git_dir
home_dir
in_git_repo
is_bash
is_fish
is_xonsh
is_zsh
runtime_dir
unquote
uuid_v4
uuid_v7