This commit is contained in:
2026-04-15 15:19:28 +08:00
commit 03229f23d4
159 changed files with 12538 additions and 0 deletions

14
include/dps/fs_utils.hpp Normal file
View File

@@ -0,0 +1,14 @@
#pragma once
#include <filesystem>
#include <string>
#include <vector>
namespace dps {
std::filesystem::path path_from_utf8(const std::string &value);
std::string path_to_utf8_string(const std::filesystem::path &path);
std::string read_text_file(const std::filesystem::path &path);
std::vector<unsigned char> read_binary_file(const std::filesystem::path &path);
} // namespace dps