MCPcopy Create free account
hub / github.com/apple/foundationdb / parentDirectory

Function parentDirectory

flow/Platform.actor.cpp:2591–2593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2589}
2590
2591std::string parentDirectory(std::string const& path, bool resolveLinks, bool mustExist) {
2592 return popPath(abspath(path, resolveLinks, mustExist));
2593}
2594
2595std::string basename(std::string const& filename) {
2596 auto abs = abspath(filename);

Callers 2

getDeviceIdFunction · 0.70
atomicReplaceFunction · 0.70

Calls 2

popPathFunction · 0.70
abspathFunction · 0.70

Tested by

no test coverage detected