use std::path::{Path, PathBuf};
use super::{BUNDLE_EXTENSION, BUNDLES_DIRECTORY, CODERS_FILE, POLICIES_FILE, USERS_FILE};
pub fn coders_configuration_path(configuration_root: &Path) -> PathBuf {
configuration_root.join(CODERS_FILE)
}
pub fn bundle_configuration_path(configuration_root: &Path, bundle_name: &str) -> PathBuf {
configuration_root
.join(BUNDLES_DIRECTORY)
.join(format!("{bundle_name}.{BUNDLE_EXTENSION}"))
}
pub fn tui_configuration_path(configuration_root: &Path) -> PathBuf {
configuration_root.join(USERS_FILE)
}
pub fn policies_configuration_path(configuration_root: &Path) -> PathBuf {
configuration_root.join(POLICIES_FILE)
}