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

module;

#include <filesystem>

export module nihil.config:write;

namespace nihil::config {

/*
 * Write all config values (except defaults) to disk.  Throws config::error
 * on failure.
 */
auto write_to(std::filesystem::path const &filename) -> void;

};