11 #ifdef CVMFS_NAMESPACE_GUARD
12 namespace CVMFS_NAMESPACE_GUARD {
16 int length =
static_cast<int>(path.
GetLength());
21 for (
int i = length-1; i >= 0; --i) {
31 int length =
static_cast<int>(path.
GetLength());
35 for (i = length-1; i >= 0; --i) {
41 name.
Append(chars+i, length-i);
47 #ifdef CVMFS_NAMESPACE_GUARD
NameString GetFileName(const PathString &path)
void Append(const char *chars, const unsigned length)
ShortString< kDefaultMaxPath, 0 > PathString
PathString GetParentPath(const PathString &path)
unsigned GetLength() const
const char * GetChars() const