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

module;

#include <expected>
#include <filesystem>

import nihil;

export module nihil.config:write;

export namespace nihil::config {

/*
 * Write all config values (except defaults) to disk.
 */
auto write_to(std::filesystem::path const &filename) ->
	std::expected<void, nihil::error>;

};