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

Method __root_directory

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

Source from the content-addressed store, hash-verified

54}
55
56string_view_t path::__root_directory() const {
57 auto PP = PathParser::CreateBegin(__pn_);
58 if (PP.State_ == PathParser::PS_InRootName)
59 ++PP;
60 if (PP.State_ == PathParser::PS_InRootDir)
61 return *PP;
62 return {};
63}
64
65string_view_t path::__root_path_raw() const {
66 auto PP = PathParser::CreateBegin(__pn_);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected