#include <folly/io/FsUtil.h>
#include <random>
#include <folly/Exception.h>
#ifdef __APPLE__
#include <mach-o/dyld.h>
#endif
#if defined(_WIN32)
#include <folly/portability/Windows.h>
#endif
bsys;
namespace folly {
namespace fs {
namespace {
bool skipPrefix(const path& pth, const path& prefix, path::const_iterator& it) { … }
}
bool starts_with(const path& pth, const path& prefix) { … }
path remove_prefix(const path& pth, const path& prefix) { … }
path canonical_parent(const path& pth, const path& base) { … }
path executable_path() { … }
[[maybe_unused]] static constexpr char const* hex_(char) { … }
[[maybe_unused]] static constexpr wchar_t const* hex_(wchar_t) { … }
#if __cpp_lib_filesystem >= 201703
std_fs::path unique_path_fn::operator()(std_fs::path const& model) const { … }
#endif
}
}