MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / __root_name

Method __root_name

system/lib/libcxx/src/filesystem/path.cpp:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47// path.decompose
48
49string_view_t path::__root_name() const {
50 auto PP = PathParser::CreateBegin(__pn_);
51 if (PP.State_ == PathParser::PS_InRootName)
52 return *PP;
53 return {};
54}
55
56string_view_t path::__root_directory() const {
57 auto PP = PathParser::CreateBegin(__pn_);

Callers 1

path.hFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected