pub fn get_operations_path() -> Result<PathBuf, Box<dyn Error>>
Gets the path for storing operations and creates directories if they do not exist.