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

Method root_directory

src/path.cpp:306–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304 }
305
306 path path::root_directory() const
307 {
308 size_type pos(root_directory_start(m_pathname, m_pathname.size()));
309
310 return pos == string_type::npos
311 ? path()
312 : path(m_pathname.c_str() + pos, m_pathname.c_str() + pos + 1);
313 }
314
315 path path::relative_path() const
316 {

Callers 5

mainFunction · 0.80
test_decompositionsFunction · 0.80
absoluteFunction · 0.80
cell_valueMethod · 0.80

Calls 2

root_directory_startFunction · 0.85
pathFunction · 0.50

Tested by 2

test_decompositionsFunction · 0.64