|
| static constexpr auto | read |
| static constexpr auto | write = [](const T& s) -> std::string { return s.Path.filename().string(); } |
| static constexpr auto | value = glz::object("path", glz::custom<read, write>) |
◆ read
Initial value: = [](
T& s,
const std::string& input, glz::context& ctx)
{
const auto filePath = std::filesystem::path(ctx.current_file);
const auto path = filePath.parent_path() / input;
}
std::string NormalizePath(const std::filesystem::path &path)
Definition Filesystem.cpp:9
◆ value
◆ write
| auto glz::meta< Raven::AssetMeta >::write = [](const T& s) -> std::string { return s.Path.filename().string(); } |
|
staticconstexpr |
The documentation for this struct was generated from the following file: