solana_accounts_db::utils

Function create_and_canonicalize_directory

Source
pub fn create_and_canonicalize_directory(
    directory: impl AsRef<Path>,
) -> Result<PathBuf>
Expand description

Creates directory if it does not exist, and canonicalizes its path