Bitcoin Core  0.20.99
P2P Digital Currency
Classes | Typedefs | Functions
fsbridge Namespace Reference

Filesystem operations and types. More...

Classes

class  FileLock
 

Typedefs

typedef fs::ifstream ifstream
 
typedef fs::ofstream ofstream
 

Functions

FILE * fopen (const fs::path &p, const char *mode)
 
static std::string GetErrorReason ()
 
static bool IsWSL ()
 
std::string get_filesystem_error_message (const fs::filesystem_error &e)
 

Detailed Description

Filesystem operations and types.

Bridge operations to C stdio

Typedef Documentation

◆ ifstream

typedef fs::ifstream fsbridge::ifstream

Definition at line 90 of file fs.h.

◆ ofstream

typedef fs::ofstream fsbridge::ofstream

Definition at line 91 of file fs.h.

Function Documentation

◆ fopen()

FILE * fsbridge::fopen ( const fs::path &  p,
const char *  mode 
)

Definition at line 22 of file fs.cpp.

Here is the caller graph for this function:

◆ get_filesystem_error_message()

std::string fsbridge::get_filesystem_error_message ( const fs::filesystem_error &  e)

Definition at line 128 of file fs.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetErrorReason()

static std::string fsbridge::GetErrorReason ( )
static

Definition at line 34 of file fs.cpp.

Here is the caller graph for this function:

◆ IsWSL()

static bool fsbridge::IsWSL ( )
static

Definition at line 53 of file fs.cpp.

Here is the caller graph for this function: