13 #ifndef __STOUT_OS_WINDOWS_COPYFILE_HPP__ 14 #define __STOUT_OS_WINDOWS_COPYFILE_HPP__ 39 const std::string& source,
const std::string& destination)
42 return Error(
"`source` was a relative path");
46 return Error(
"`destination` was a relative path");
64 #endif // __STOUT_OS_WINDOWS_COPYFILE_HPP__ bool is_absolute(const std::string &path)
Returns whether the given path is an absolute path.
Definition: path.hpp:158
Definition: nothing.hpp:16
Definition: errorbase.hpp:36
Try< Nothing > copyfile(const std::string &source, const std::string &destination)
Definition: copyfile.hpp:40
Definition: error.hpp:108
Definition: posix_signalhandler.hpp:23
std::wstring longpath(const std::string &path)
Definition: longpath.hpp:38