Module common

Source
Expand description

Common data for all Signstar functionalities.

§Examples

use signstar_common::common::get_data_home;

// Get the directory below which all Signstar related data is stored.
println!("{:?}", get_data_home());

Constants§

CREDENTIALS_DIR_MODE
The file mode of directories containing credentials.
DATA_HOME 🔒
The directory below which o store all Signstar related data.
SECRET_FILE_MODE
The file mode of secret files.

Functions§

get_data_home
Get the directory below which all Signstar related data is stored.