mirror of
https://codeberg.org/icewind/nextcloud-config-parser.git
synced 2026-06-03 16:44:09 +02:00
commit
d13783dbc1
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ fn parse_files(files: Vec<PathBuf>) -> Result<Config> {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn parse(path: impl AsRef<Path>) -> Result<Config> {
|
pub fn parse(path: impl AsRef<Path>) -> Result<Config> {
|
||||||
parse_files(glob_config_files(path))
|
parse_files(vec![path.as_ref().into()])
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn parse_glob(path: impl AsRef<Path>) -> Result<Config> {
|
pub fn parse_glob(path: impl AsRef<Path>) -> Result<Config> {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue