solana_accounts_db::utils

Function create_and_canonicalize_directories

Source
pub fn create_and_canonicalize_directories(
    directories: impl IntoIterator<Item = impl AsRef<Path>>,
) -> Result<Vec<PathBuf>>
Expand description

Creates directories if they do not exist, and canonicalizes their paths