Skip to main content

AppPaths

Trait AppPaths 

Source
pub trait AppPaths {
Show 19 methods // Required methods fn config_dir(&self) -> &PathBuf; fn data_dir(&self) -> &PathBuf; // Provided methods fn settings_path(&self) -> PathBuf { ... } fn trust_path(&self) -> PathBuf { ... } fn bundled_dir(&self) -> PathBuf { ... } fn bundled_manifest_path(&self) -> PathBuf { ... } fn prompts_dir(&self) -> PathBuf { ... } fn providers_dir(&self) -> PathBuf { ... } fn sessions_dir(&self) -> PathBuf { ... } fn skills_dir(&self) -> PathBuf { ... } fn worktrees_dir(&self) -> PathBuf { ... } fn attachments_dir(&self) -> PathBuf { ... } fn downloads_dir(&self) -> PathBuf { ... } fn logs_dir(&self) -> PathBuf { ... } fn vendor_dir(&self) -> PathBuf { ... } fn metadata_db_path(&self) -> PathBuf { ... } fn version_path(&self) -> PathBuf { ... } fn bundled_content_dirs(&self) -> [PathBuf; 4] { ... } fn standard_required_dirs(&self) -> Vec<PathBuf> { ... }
}
Expand description

Common config/data path helpers shared by Elph applications.

Required Methods§

Source

fn config_dir(&self) -> &PathBuf

Source

fn data_dir(&self) -> &PathBuf

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§