build: linuxbuild public beta

This commit is contained in:
Andreas Stallinger
2016-02-24 13:39:22 +01:00
parent c5b96a63ba
commit 389c7881c3
23 changed files with 427 additions and 103 deletions
+10
View File
@@ -164,6 +164,16 @@ void FileSystem::createDirectory(const FilePath& path)
boost::filesystem::create_directories(path.str());
}
bool FileSystem::copy_directory(const FilePath& from, const FilePath& to)
{
if(!from.exists() || to.exists())
{
return false;
}
boost::filesystem::copy_directory(boost::filesystem::path(from.str()),boost::filesystem::path(to.str()));
return true;
}
std::vector<FilePath> FileSystem::getSubDirectories(const FilePath &path)
{
std::vector<FilePath> v;