Sets the database file path. # Arguments `database_path` - Path where the SQLite database file should be stored # Examples ```no_run # use learner::Config; # use std::path::PathBuf; let config = Config::default().with_database_path(&PathBuf::from("~/papers/db.sqlite")); ```
(mut self, database_path: &Path)
| 429 | /// let config = Config::default().with_database_path(&PathBuf::from("~/papers/db.sqlite")); |
| 430 | /// ``` |
| 431 | pub fn with_database_path(mut self, database_path: &Path) -> Self { |
| 432 | self.database_path = database_path.to_path_buf(); |
| 433 | self |
| 434 | } |
| 435 | |
| 436 | /// Sets the path for retriever configuration files. |
| 437 | /// |
no outgoing calls