Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PDAL/PDAL
/ addTrailingSlash
Function
addTrailingSlash
pdal/util/FileUtils.cpp:80–85 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
78
}
79
80
std::string addTrailingSlash(std::string path)
81
{
82
if (path[path.size() - 1] !=
'/'
&& path[path.size() - 1] !=
'\\'
)
83
path +=
"/"
;
84
return path;
85
}
86
87
} // unnamed namespace
88
Callers
2
getcwd
Function · 0.85
getDirectory
Function · 0.85
Calls
1
size
Method · 0.45
Tested by
no test coverage detected