mirror of
https://codeberg.org/icewind/nextcloud-config-parser.git
synced 2026-06-03 08:34:13 +02:00
0.4.1
This commit is contained in:
parent
7445dda2ff
commit
59cd402f2f
2 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "nextcloud-config-parser"
|
name = "nextcloud-config-parser"
|
||||||
description = "Rust parser for nextcloud config files"
|
description = "Rust parser for nextcloud config files"
|
||||||
version = "0.4.0"
|
version = "0.4.1"
|
||||||
authors = ["Robin Appelman <robin@icewind.nl>"]
|
authors = ["Robin Appelman <robin@icewind.nl>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
|
|
||||||
|
|
@ -271,7 +271,7 @@ fn parse_db_options(parsed: &Value) -> Result<Database> {
|
||||||
ssl_options,
|
ssl_options,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
Some("sqlite3" | "sqlite") | None => {
|
Some("sqlite3") | Some("sqlite") | None => {
|
||||||
let data_dir = parsed["datadirectory"]
|
let data_dir = parsed["datadirectory"]
|
||||||
.as_str()
|
.as_str()
|
||||||
.ok_or(DbError::NoDataDirectory)?;
|
.ok_or(DbError::NoDataDirectory)?;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue