dune-common 2.9.0
Loading...
Searching...
No Matches
Namespaces | Functions
path.hh File Reference

Utilities for handling filesystem paths. More...

#include <string>

Go to the source code of this file.

Namespaces

namespace  Dune
 Dune namespace.
 

Functions

std::string Dune::concatPaths (const std::string &base, const std::string &p)
 concatenate two paths
 
std::string Dune::processPath (const std::string &p)
 sanitize a path for further processing
 
bool Dune::pathIndicatesDirectory (const std::string &p)
 check whether the given path indicates that it is a directory
 
std::string Dune::prettyPath (const std::string &p, bool isDirectory)
 pretty print path
 
std::string Dune::prettyPath (const std::string &p)
 pretty print path
 
std::string Dune::relativePath (const std::string &newbase, const std::string &p)
 compute a relative path between two paths
 

Detailed Description

Utilities for handling filesystem paths.

Author
Jö Fahlke jorri.nosp@m.t@jo.nosp@m.rrit..nosp@m.de