29 #include "nomlib/system/windows/WinFile.hpp"
33 WinFile::WinFile (
void ) {}
35 WinFile::~WinFile (
void ) {}
59 uint32 pos = dir_path.find_last_of ( p.
native(), PATH_MAX );
64 if ( pos == std::string::npos )
return ".";
68 return dir_path.substr ( 0, pos );
79 if ( _chdir ( path.c_str() ) != 0 )
81 NOM_LOG_ERR ( NOM,
"Unknown error on attempt to change working directory to: " + path );
int32 size(const std::string &file_path)
Stub.
bool exists(const std::string &file_path)
Stub.
const std::string currentPath(void)
Stub.
const std::string path(const std::string &dir_path)
bool set_path(const std::string &path)
chdir(2) wrapper
const std::string extension(const std::string &file)
Stub.
Platform-independent interface for cross-platform handling of pathnames.
const value_type & native(void) const