Go to the documentation of this file.
17 #ifndef USGOV_cecc5cb611fac4022cc60e3a9caee608906e8b3256ea18a917c439b57efff781
18 #define USGOV_cecc5cb611fac4022cc60e3a9caee608906e8b3256ea18a917c439b57efff781
24 namespace us {
namespace gov {
28 bool read_file(
const string& filename, vector<unsigned char>&);
41 static bool mkdir(
const string& d);
47 static string abs_file(
const string& home,
const string& fn);
static void to_identifier(string &)
static string file_content(const string &file)
string home
Definition: cfg0.h:56
static string directory_of_file(const string &file)
static string abs_file(const string &home, const string &fn)
static string rewrite_path(const string &)
bool read_file(const string &filename, vector< unsigned char > &)
Definition: cfg0.cpp:150
bool read_text_file(const string &filename, string &)
Definition: cfg0.cpp:171
static bool dir_exists(const string &d)
static void check_platform()
static void mkdir_tree(string sub, string dir)
static bool file_exists(const string &f)
cfg0 cfg_filesystem
Definition: cfg0.h:59
static bool ensure_dir(const string &d)
static const char * KO_96857
Definition: cfg0.h:34
static void trim(string &)
us::gov::io::cfg0 c
Definition: cfg0.cpp:32
Definition: client.cpp:417
static constexpr ko ok
Definition: ko.h:28
static bool is_big_endian()
static bool mkdir(const string &d)
static bool ensure_writable(const string &file)
static pair< us::ko, cfg0 > load(const string &home)
static const char * KO_60534
Definition: cfg0.h:35
static uint32_t file_size(const string &f)
#define log
Definition: gov.h:83