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

Method parent_path

src/path.cpp:350–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348 }
349
350 path path::parent_path() const
351 {
352 size_type end_pos(m_parent_path_end());
353 return end_pos == string_type::npos
354 ? path()
355 : path(m_pathname.c_str(), m_pathname.c_str() + end_pos);
356 }
357
358 path path::filename() const
359 {

Callers 9

mainFunction · 0.80
test_decompositionsFunction · 0.80
directory_iterator_testsFunction · 0.80
canonical_basic_testsFunction · 0.80
cpp_mainFunction · 0.80
create_directoriesFunction · 0.80
cell_valueMethod · 0.80

Calls 1

pathFunction · 0.50

Tested by 5

test_decompositionsFunction · 0.64
directory_iterator_testsFunction · 0.64
canonical_basic_testsFunction · 0.64
cpp_mainFunction · 0.64