Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Kagome
Consensus
core
Development guide
Guide for `outcome::result<T>`
Rules
Terms
Tooling
Overview
Your first Kagome chain
Runing Kagome in docker container
Start private Kagome network
Namespaces
Classes
Files
File List
core
api
application
assets
authority_discovery
authorship
blockchain
clock
common
consensus
containers
crypto
filesystem
common.hpp
directories.hpp
host_api
injector
log
macro
metrics
network
offchain
outcome
parachain
primitives
runtime
scale
storage
subscription
telemetry
transaction_pool
utils
docs
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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