Logo
ApraPipes 1.0
Loading...
Searching...
No Matches
apra::path_utils Namespace Reference

Classes

struct  PathValidationResult
 

Functions

std::string normalizePath (const std::string &path)
 
std::string parentPath (const std::string &path)
 
std::string filename (const std::string &path)
 
bool pathExists (const std::string &path)
 
bool isFile (const std::string &path)
 
bool isDirectory (const std::string &path)
 
bool isWritable (const std::string &path)
 
bool createDirectories (const std::string &path)
 
bool patternHasMatches (const std::string &pattern)
 
size_t countPatternMatches (const std::string &pattern)
 
std::string firstPatternMatch (const std::string &pattern)
 
PathValidationResult validatePath (const std::string &path, PathType type, PathRequirement requirement)
 
std::string pathTypeToString (PathType type)
 
std::string pathRequirementToString (PathRequirement requirement)
 
bool hasWildcards (const std::string &path)
 
std::string patternDirectory (const std::string &pattern)
 
static bool matchesPattern (const std::string &filename, const std::string &patternFilename)
 

Function Documentation

◆ countPatternMatches()

size_t apra::path_utils::countPatternMatches ( const std::string & pattern)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createDirectories()

bool apra::path_utils::createDirectories ( const std::string & path)
Here is the caller graph for this function:

◆ filename()

std::string apra::path_utils::filename ( const std::string & path)
Here is the caller graph for this function:

◆ firstPatternMatch()

std::string apra::path_utils::firstPatternMatch ( const std::string & pattern)
Here is the call graph for this function:

◆ hasWildcards()

bool apra::path_utils::hasWildcards ( const std::string & path)
Here is the caller graph for this function:

◆ isDirectory()

bool apra::path_utils::isDirectory ( const std::string & path)
Here is the caller graph for this function:

◆ isFile()

bool apra::path_utils::isFile ( const std::string & path)
Here is the caller graph for this function:

◆ isWritable()

bool apra::path_utils::isWritable ( const std::string & path)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ matchesPattern()

static bool apra::path_utils::matchesPattern ( const std::string & filename,
const std::string & patternFilename )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ normalizePath()

std::string apra::path_utils::normalizePath ( const std::string & path)
Here is the caller graph for this function:

◆ parentPath()

std::string apra::path_utils::parentPath ( const std::string & path)
Here is the caller graph for this function:

◆ pathExists()

bool apra::path_utils::pathExists ( const std::string & path)
Here is the caller graph for this function:

◆ pathRequirementToString()

std::string apra::path_utils::pathRequirementToString ( PathRequirement requirement)

◆ pathTypeToString()

std::string apra::path_utils::pathTypeToString ( PathType type)

◆ patternDirectory()

std::string apra::path_utils::patternDirectory ( const std::string & pattern)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ patternHasMatches()

bool apra::path_utils::patternHasMatches ( const std::string & pattern)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ validatePath()

PathValidationResult apra::path_utils::validatePath ( const std::string & path,
PathType type,
PathRequirement requirement )
Here is the call graph for this function:
Here is the caller graph for this function: