Update to spice2x-25-04-25 (pre-apply)
> broken commit
This commit is contained in:
@@ -25,6 +25,7 @@ namespace fileutils {
|
||||
bool dir_create(const std::filesystem::path &dir_path);
|
||||
bool dir_create_log(const std::string_view &module, const std::filesystem::path &dir_path);
|
||||
bool dir_create_recursive(const std::filesystem::path &dir_path);
|
||||
bool dir_create_recursive_log(const std::string_view &module, const std::filesystem::path &dir_path);
|
||||
void dir_scan(const std::string &path, std::vector<std::string> &vec, bool recursive);
|
||||
|
||||
// IO
|
||||
@@ -32,4 +33,7 @@ namespace fileutils {
|
||||
std::string text_read(const std::filesystem::path &file_path);
|
||||
bool bin_write(const std::filesystem::path &path, uint8_t *data, size_t len);
|
||||
std::vector<uint8_t> *bin_read(const std::filesystem::path &path);
|
||||
|
||||
std::filesystem::path get_config_file_path(const std::string module, const std::string filename, bool* file_exists=nullptr);
|
||||
bool write_config_file(const std::string_view &module, const std::filesystem::path path, std::string text);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user