delphyne
filesystem.cc File Reference
#include "utility/filesystem.h"
#include <stdexcept>
#include <string>
#include <ignition/common/Filesystem.hh>
#include <ignition/common/StringUtils.hh>
#include "delphyne/macros.h"
Include dependency graph for filesystem.cc:

Namespaces

 delphyne
 

Functions

bool IsAbsolutePath (const std::string &path)
 Checks whether the given path is absolute or not. More...
 
bool IsValidFilepath (const std::string &path)
 Checks whether the given path is a valid file path (i.e. More...
 
std::string Dirname (const std::string &path)
 Extracts the directory name of the given path. More...
 
std::pair< std::string, std::string > SplitExtension (const std::string &path)
 Splits the given path into a (base path, extension) tuple, extension being the trailing characters preceded by the last dot '. More...
 
void WalkDirectory (const std::string &dirpath, const DirectoryWalkFn &walkfn, bool recursive)
 Walks the given dirpath in a top-down fashion. More...