Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
68
bool Path::IsAbsolute(const std::string& filepath)
69
{
70
return !filepath.empty() && IsSeparator(filepath[0]);
71
}
72
73
// Normalize path, eliminating double slashes, etc.
74
std::string Path::Normalize(const std::string& path)
Callers
nothing calls this directly
Calls
1
empty
Method · 0.45
Tested by
no test coverage detected