summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index 41ddcd6..d6ffbc5 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -52,6 +52,7 @@ impl ClientConfig {
#[derive(Debug, Serialize, Clone)]
pub struct ClientConfigWithoutPasswords {
+ pub filename: PathBuf,
pub server_url: String,
pub verify_tls_cert: bool,
pub chunk_size: usize,
@@ -92,6 +93,7 @@ impl ClientConfigWithoutPasswords {
let encrypt = tentative.encrypt.or(Some(false)).unwrap();
let config = Self {
+ filename: filename.to_path_buf(),
server_url: tentative.server_url,
roots: tentative.roots,
verify_tls_cert: tentative.verify_tls_cert.or(Some(false)).unwrap(),