29#include <spdlog/spdlog.h>
50 static constexpr std::string_view
value =
"\\";
52 static constexpr std::string_view
value =
"/";
74 preferred.make_preferred();
76 set_name(preferred.filename().string());
88 return (
path_ == right.path_) && (
name() == right.name()) &&
89 (
type_ == right.type_);
154 std::filesystem::path
fs_path(
const std::filesystem::path &base = {})
const
156 std::filesystem::path res;
158 for (
const auto &path_element :
path_) {
169 return res.lexically_normal();
193struct hash<
std::reference_wrapper<clanguml::common::model::source_file>> {
195 const std::reference_wrapper<clanguml::common::model::source_file> &key)
198 return key.get().id().value();