oss_src/graphlab/util/fs_util.cpp
std::string graphlab::fs_util::
change_suffix(const std::string& fname,
              const std::string& new_suffix) {             
  size_t pos = fname.rfind('.');
  assert(pos != std::string::npos); 
  const std::string new_base(fname.substr(0, pos));
  return new_base + new_suffix;
}
// end of list files with prefix
end of list files with prefix
end of list files with prefix
std::string graphlab::fs_util::
change_suffix(const std::string& fname,
              const std::string& new_suffix) {             
  size_t pos = fname.rfind('.');
  assert(pos != std::string::npos); 
  const std::string new_base(fname.substr(0, pos));
  return new_base + new_suffix;
}
std :: string graphlab :: fs_util :: change_suffix ( const std :: string & fname , const std :: string & new_suffix ) { size_t pos = fname . rfind ( ' ' ) ; assert ( pos != std :: string :: npos ) ; const std :: string new_base ( fname . substr ( 0 , pos ) ) ; return new_base + new_suffix ; }
end of list files with prefix
end of list files with prefix