MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / parent

Method parent

lib/vfs/vfs.cc:50–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50Path Path::parent() const
51{
52 Path p;
53 if (!empty())
54 {
55 for (int i = 0; i < (size() - 1); i++)
56 p.push_back((*this)[i]);
57 }
58 return p;
59}
60
61Path Path::concat(const std::string& s) const
62{

Callers 11

getDirentMethod · 0.80
getDirentMethod · 0.80
getDirentMethod · 0.80
getDirentMethod · 0.80
getFileMethod · 0.80
GetParentMethod · 0.80
DeleteMethod · 0.80
AddMethod · 0.80
testPathParenthoodFunction · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected