10#include "ll/api/base/Macro.h"
11#include "ll/api/data/Version.h"
13namespace ll::inline utils::file_utils {
15LLNDAPI std::filesystem::path u8path(std::string_view src);
17LLNDAPI std::optional<std::string> readFile(std::filesystem::path
const& filePath,
bool isBinary =
false);
19LLAPI
bool writeFile(std::filesystem::path
const& filePath, std::string_view content,
bool isBinary =
false);
23LLNDAPI std::optional<data::Version> getVersion(std::filesystem::path
const& filePath);