13 #ifndef __STOUT_INTERNAL_WINDOWS_LONGPATH_HPP__ 14 #define __STOUT_INTERNAL_WINDOWS_LONGPATH_HPP__ 40 const size_t max_path_length = 248;
41 if (path.size() >= max_path_length &&
44 return wide_stringify(os::LONGPATH_PREFIX + path);
46 return wide_stringify(path);
59 #endif // __STOUT_INTERNAL_WINDOWS_LONGPATH_HPP__
bool is_absolute(const std::string &path)
Returns whether the given path is an absolute path.
Definition: path.hpp:158
Definition: attributes.hpp:24
std::wstring longpath(const std::string &path)
Definition: longpath.hpp:38
std::string stringify(int flags)
bool startsWith(const std::string &s, const std::string &prefix)
Definition: strings.hpp:381