Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crownengine/crown
/ has_trailing_separator
Function
has_trailing_separator
src/core/filesystem/path.cpp:93–97 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
91
}
92
93
bool has_trailing_separator(const char *path)
94
{
95
CE_ENSURE(NULL != path);
96
return path[strlen32(path) - 1] == PATH_SEPARATOR;
97
}
98
99
inline bool any_separator(char c)
100
{
Callers
4
test_path
Function · 0.85
add_watch
Method · 0.85
add_watch
Method · 0.85
reduce
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_path
Function · 0.68