pub fn load(path: &Path) -> Result<Loaded, Error>Expand description
Read one configuration file, whatever kind it is.
The kind is decided by the file’s name, so --config can be pointed at a
gdlintrc as readily as at a gdck.toml. A name matching none of them is
read as a gdck.toml.