Commit Graph

7 Commits

Author SHA1 Message Date
d200367ee0
Updated logger options, changed filetype behavior
Replaced lots of warns by errors

Filetype detection won’t return an error on unknown extension anymore,
but will return an `Other` value so it can be handled by other
functions not as an error already. See upcoming commits.
2020-03-28 21:59:23 +01:00
9f5c040893
Added documentation 2020-03-27 23:27:00 +01:00
7d0a371311
Changed ruleset variable type to i32 2020-03-27 23:26:16 +01:00
8642067eb3
Updated settings::utils::write_file’s signature for more flexibility
`write_file` now accepts as its second argument any type that
implements the `ToString` trait so that not only Strings will be
accepted but any type that can be turned into one.
2020-03-27 19:09:34 +01:00
488ceba1bb
Added some doc and tests 2020-03-27 19:08:47 +01:00
2e0c16e97c
Added functions to import and export settings and refactoring 2020-03-27 18:25:20 +01:00
ff95cb05eb
Added some basic code
Added basic settings representation and a way to load them from either
a YAML or Json file.
2020-03-26 20:10:07 +01:00