1 2 3 4 5 6 7
use std::path::PathBuf; use color_eyre::eyre::Result; pub trait ConfigWriter: Send + Sync { fn get_cache_dir(&self, project_name: &str) -> Result<PathBuf>; }