cvmfs/util/posix.cc
string GetFileName(const string &path) {
  const string::size_type idx = path.find_last_of('/');
  if (idx != string::npos)
    return path.substr(idx+1);
  else
    return path;
}
/**
 * Gets the file name part of a path.
 */
Gets the file name part of a path.
Gets the file name part of a path .
string GetFileName(const string &path) {
  const string::size_type idx = path.find_last_of('/');
  if (idx != string::npos)
    return path.substr(idx+1);
  else
    return path;
}
string GetFileName ( const string & path ) { const string :: size_type idx = path . find_last_of ( ' ' ) ; if ( idx != string :: npos ) return path . substr ( idx + 1 ) ; else return path ; }
Gets the file name part of a path.
Gets the file name part of a path .