Crate iroh_util

Source

Modules§

exitcodes
iroh exit codes
human
lock

Functions§

block_until_sigint
Blocks current thread until ctrl-c is received
increase_fd_limit
If supported sets a preffered limit for file descriptors.
insert_into_config_map
insert a value into a config::Map
iroh_cache_path
Path that leads to a file in the iroh cache directory.
iroh_cache_root
Returns the path to the user’s iroh cache directory.
iroh_config_path
iroh_config_root
Returns the path to the user’s iroh config directory.
iroh_data_path
Path that leads to a file in the iroh data directory.
iroh_data_root
Returns the path to the user’s iroh data directory.
make_config
Make a config using a default, files, environment variables, and commandline flags.
verify_hash
Verifies that the provided bytes hash to the given multihash.