$darkmode
path.hpp File Reference
#include <filesystem>
#include <optional>
#include <nlohmann/json_fwd.hpp>
Include dependency graph for path.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nlohmann::adl_serializer< std::filesystem::path >
 

Functions

bool fable::is_executable (const std::filesystem::path &path)
 
std::optional< std::filesystem::path > fable::search_path (const std::filesystem::path &executable)
 

Detailed Description

See also
fable/utility/path.cpp

In order to provide serialization for third-party types, we need to either use their namespace or provide a specialization in that of nlohmann. It is illegal to define anything in the std namespace, so we are left no choice in this regard.

See: https://github.com/nlohmann/json