Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
directories.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_FILESYSTEM_DIRECTORIES_HPP
7
#define KAGOME_FILESYSTEM_DIRECTORIES_HPP
8
9
#include "
filesystem/common.hpp
"
10
11
namespace
kagome::filesystem
{
12
18
inline
bool
createDirectoryRecursive
(
const
path &path) {
19
return
exists(path) || create_directories(path);
20
}
21
22
}
// namespace kagome::filesystem
23
24
#endif // KAGOME_FILESYSTEM_DIRECTORIES_HPP
kagome::filesystem
Definition:
common.hpp:11
common.hpp
kagome::filesystem::createDirectoryRecursive
bool createDirectoryRecursive(const path &path)
Definition:
directories.hpp:18
core
filesystem
directories.hpp
Generated by
1.8.11