2 #include <msp/core/systemerror.h>
11 Path readlink(const Path &link)
14 throw logic_error("no symbolic links on win32");
17 Path realpath(const Path &path)
19 if(path.is_absolute())
25 void rename(const Path &from, const Path &to)
27 if(!MoveFileEx(from.c_str(), to.c_str(), MOVEFILE_REPLACE_EXISTING))
28 throw system_error("MoveFileEx");
31 void unlink(const Path &path)
33 if(!DeleteFile(path.c_str()))
34 throw system_error("DeleteFile");