NAH 3.0.0
Native Application Host - Library API Reference
Loading...
Searching...
No Matches
nah::store::detail Namespace Reference

Classes

class  Lock
 

Functions

bool allowed_pair (const fs::path &payload, const fs::path &record)
 
bool rename_durable (const fs::path &from, const fs::path &to, std::string &error)
 
bool safe_relative (const fs::path &path)
 
bool sync_directory (const fs::path &path, std::string &error)
 
bool sync_file (const fs::path &path, std::string &error)
 
bool sync_tree (const fs::path &root, std::string &error)
 
std::string unique_id ()
 
bool write_file (const fs::path &path, const std::string &value, std::string &error)
 

Function Documentation

◆ allowed_pair()

bool nah::store::detail::allowed_pair ( const fs::path &  payload,
const fs::path &  record 
)
inline

Definition at line 63 of file nah_store.h.

◆ rename_durable()

bool nah::store::detail::rename_durable ( const fs::path &  from,
const fs::path &  to,
std::string &  error 
)
inline

Definition at line 139 of file nah_store.h.

◆ safe_relative()

bool nah::store::detail::safe_relative ( const fs::path &  path)
inline

Definition at line 55 of file nah_store.h.

◆ sync_directory()

bool nah::store::detail::sync_directory ( const fs::path &  path,
std::string &  error 
)
inline

Definition at line 129 of file nah_store.h.

◆ sync_file()

bool nah::store::detail::sync_file ( const fs::path &  path,
std::string &  error 
)
inline

Definition at line 73 of file nah_store.h.

◆ sync_tree()

bool nah::store::detail::sync_tree ( const fs::path &  root,
std::string &  error 
)
inline

Definition at line 108 of file nah_store.h.

◆ unique_id()

std::string nah::store::detail::unique_id ( )
inline

Definition at line 44 of file nah_store.h.

◆ write_file()

bool nah::store::detail::write_file ( const fs::path &  path,
const std::string &  value,
std::string &  error 
)
inline

Definition at line 97 of file nah_store.h.