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__
Definition: nothing.hpp:16
Definition: errorbase.hpp:35
Try< Nothing > copyfile(const std::string &source, const std::string &destination)
Definition: copyfile.hpp:38
Definition: error.hpp:106
bool absolute(const std::string &path)
Returns whether the given path is an absolute path.
Definition: path.hpp:96
std::wstring longpath(const std::string &path)
Definition: longpath.hpp:38