MCPcopy Create free account
hub / github.com/chen3feng/toft / IsAbsolute

Method IsAbsolute

storage/path/path.cpp:68–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68bool Path::IsAbsolute(const std::string& filepath)
69{
70 return !filepath.empty() && IsSeparator(filepath[0]);
71}
72
73// Normalize path, eliminating double slashes, etc.
74std::string Path::Normalize(const std::string& path)

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected