Seastar
High performance C++ framework for concurrent servers
Public Member Functions | Static Public Member Functions | List of all members
seastar::tmp_dir Class Reference

Public Member Functions

 tmp_dir (const tmp_dir &)=delete
 
 tmp_dir (tmp_dir &&x)=default
 
tmp_diroperator= (tmp_dir &&) noexcept=default
 
future create (std::filesystem::path path_template=default_tmpdir(), file_permissions create_permissions=file_permissions::default_dir_permissions) noexcept
 
future remove () noexcept
 
bool has_path () const
 
const std::filesystem::path & get_path () const
 

Static Public Member Functions

template<typename Func >
static future do_with (std::filesystem::path path_template, Func &&func, file_permissions create_permissions=file_permissions::default_dir_permissions) noexcept
 
template<typename Func >
static future do_with (Func &&func) noexcept
 
template<typename Func >
static future do_with_thread (Func &&func) noexcept
 

The documentation for this class was generated from the following file: