zipios++
2.0.2
Zipios++ – a small C++ library that provides easy access to .zip files.
|
Functions | |
std::string | pruneTrailingSeparator (std::string path) |
Prune the trailing separator if present. More... | |
std::string zipios::anonymous_namespace{filepath.cpp}::pruneTrailingSeparator | ( | std::string | path | ) |
This function is used to ensure that the FilePath does NOT end with a separator.
path
to not include double separators one after another. However, passing such a path to the FilePath will keep it as is.[in] | path | The path to prune of one trailing separator. |
Definition at line 59 of file filepath.cpp.
References zipios::g_separator.
Referenced by zipios::FilePath::operator=().