AFIO  v2.00 late alpha
path_discovery.hpp File Reference

Provides path_discovery More...

#include "fs_handle.hpp"
#include "stat.hpp"

Classes

struct  afio_v2_xxx::path_discovery::discovered_path
 A discovered path. More...
 

Namespaces

 afio_v2_xxx
 The AFIO namespace.
 
 afio_v2_xxx::path_discovery
 Contains functions used to discover suitable paths for things.
 

Functions

std::ostream & afio_v2_xxx::path_discovery::operator<< (std::ostream &s, const discovered_path::source_type &v)
 
span< discovered_path > afio_v2_xxx::path_discovery::all_temporary_directories (bool refresh=false) noexcept
 Returns a list of potential directories which might be usuable for temporary files. More...
 
span< discovered_path > afio_v2_xxx::path_discovery::verified_temporary_directories () noexcept
 Returns a subset of all_temporary_directories() each of which has been tested to be writable by the current process. No testing is done of available writable space. More...
 
const path_handle & afio_v2_xxx::path_discovery::storage_backed_temporary_files_directory () noexcept
 Returns a reference to an open handle to a verified temporary directory where files created are stored in a filesystem directory, usually under the current user's quota. More...
 
const path_handle & afio_v2_xxx::path_discovery::memory_backed_temporary_files_directory () noexcept
 Returns a reference to an open handle to a verified temporary directory where files created are stored in memory/paging file, and thus access may be a lot quicker, but stronger limits on capacity may apply. More...
 

Detailed Description

Provides path_discovery