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

Method remove_filename_v4

src/path.cpp:689–693  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

687}
688
689BOOST_FILESYSTEM_DECL void path_algorithms::remove_filename_v4(path& p)
690{
691 size_type filename_size = path_algorithms::find_filename_v4_size(p);
692 p.m_pathname.erase(p.m_pathname.begin() + (p.m_pathname.size() - filename_size), p.m_pathname.end());
693}
694
695BOOST_FILESYSTEM_DECL void path_algorithms::replace_extension_v3(path& p, path const& new_extension)
696{

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
sizeMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected