MCPcopy Create free account
hub / github.com/boostorg/filesystem / initial_path

Function initial_path

src/operations.cpp:4045–4054  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4043}
4044
4045BOOST_FILESYSTEM_DECL
4046path initial_path(error_code* ec)
4047{
4048 static path init_path;
4049 if (init_path.empty())
4050 init_path = current_path(ec);
4051 else if (ec)
4052 ec->clear();
4053 return init_path;
4054}
4055
4056//! Tests if the directory is empty. Implemented in directory.cpp.
4057bool is_empty_directory

Callers 7

canonical_basic_testsFunction · 0.50
platform_specific_testsFunction · 0.50
initial_testsFunction · 0.50
cpp_mainFunction · 0.50
cpp_mainFunction · 0.50
cpp_mainFunction · 0.50

Calls 3

clearMethod · 0.80
current_pathFunction · 0.70
emptyMethod · 0.45

Tested by 6

canonical_basic_testsFunction · 0.40
platform_specific_testsFunction · 0.40
initial_testsFunction · 0.40
cpp_mainFunction · 0.40
cpp_mainFunction · 0.40