summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2020-11-11 09:49:38 +0100
committerMatthias Beyer <mail@beyermatthias.de>2020-11-11 17:05:26 +0100
commitb7699fac8d077cba2b30dffd311834ea2a4c8891 (patch)
tree95eb0252e79c6526d15b40a6f5bfced9bff6e96c /src/config
parent87548dc2bc0e8ebc4ff3b1145fcada8c16e1ce1d (diff)
Add configuration setting for source cache root
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/not_validated.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config/not_validated.rs b/src/config/not_validated.rs
index 6764578..8b17833 100644
--- a/src/config/not_validated.rs
+++ b/src/config/not_validated.rs
@@ -29,6 +29,10 @@ pub struct NotValidatedConfiguration {
#[serde(rename = "staging")]
staging_directory: String,
+ #[serde(rename = "source_cache")]
+ #[getset(get = "pub")]
+ source_cache_root: String,
+
#[getset(get = "pub")]
#[serde(rename = "database_host")]
database_host: String,