CGII/framework/include/cgv/utils/dir.h
2018-05-17 15:50:03 +02:00

26 lines
596 B
C++

#pragma once
#include <string>
#include "lib_begin.h"
namespace cgv {
namespace utils {
namespace dir {
/// check if directory exists
CGV_API bool exists(const std::string& dir_name);
/// change current directory
CGV_API bool chdir(const std::string& dir_name);
/// create a new directory
CGV_API bool mkdir(const std::string& dir_name);
/// remove a directory
CGV_API bool rmdir(const std::string& dir_name);
/// get the current directory of the this process.
CGV_API std::string current();
}
}
}
#include <cgv/config/lib_end.h>