aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.config/read.ccm
blob: 74b0bc033844f0a0dd0f2c30f7680580406845dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * This source code is released into the public domain.
 */

module;

#include <filesystem>

export module nihil.config:read;

namespace nihil::config {

/*
 * Load the configuration from a file.  Throws config::error on failure.
 */
export auto read_from(std::filesystem::path const &filename) -> void;

} // namespace nihil::config