MCPcopy Create free account
hub / github.com/computationalpathologygroup/ASAP / rootName

Function rootName

core/filetools.cpp:425–429  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

423
424//---------------------------------------------------------------------------
425 std::string rootName(const std::string &spath)
426 {
427 fs::path p(spath);
428 return p.root_name().string();
429 }
430
431 bool isRoot(const std::string &spath)
432 {

Callers 2

isUNCPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected