//! The per-project config folder (`/.openidea/`). use std::path::{Path, PathBuf}; /// Folder name under the project root. pub const DIR: &str = ".openidea"; /// Where `rel` (e.g. `settings.toml`) is read from and written to. pub fn path(root: &Path, rel: impl AsRef) -> PathBuf { root.join(DIR).join(rel) }