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

Method root_path

include/boost/filesystem/path.hpp:974–974  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

972 // ----- decomposition -----
973
974 path root_path() const { return path(m_pathname.c_str(), m_pathname.c_str() + detail::path_algorithms::find_root_path_size(*this)); }
975 // returns 0 or 1 element path even on POSIX, root_name() is non-empty() for network paths
976 path root_name() const { return path(m_pathname.c_str(), m_pathname.c_str() + detail::path_algorithms::find_root_name_size(*this)); }
977

Callers 11

mainFunction · 0.80
test_decompositionsFunction · 0.80
make_long_pathFunction · 0.80
canonicalize_root_pathFunction · 0.80
absolute_testsFunction · 0.80
canonical_basic_testsFunction · 0.80
platform_specific_testsFunction · 0.80
canonicalize_root_pathFunction · 0.80
canonical_commonFunction · 0.80
cell_valueMethod · 0.80

Calls 2

pathClass · 0.70
c_strMethod · 0.45

Tested by 7

test_decompositionsFunction · 0.64
make_long_pathFunction · 0.64
canonicalize_root_pathFunction · 0.64
absolute_testsFunction · 0.64
canonical_basic_testsFunction · 0.64
platform_specific_testsFunction · 0.64