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

Function initial_path

src/operations.cpp:1265–1273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1263 }
1264
1265 BOOST_FILESYSTEM_DECL
1266 path initial_path(error_code* ec)
1267 {
1268 static path init_path;
1269 if (init_path.empty())
1270 init_path = current_path(ec);
1271 else if (ec != 0) ec->clear();
1272 return init_path;
1273 }
1274
1275 BOOST_FILESYSTEM_DECL
1276 bool is_empty(const path& p, system::error_code* ec)

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 1

current_pathFunction · 0.70

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