pstore2
Namespaces | Functions
path.cpp File Reference
#include "pstore/os/path.hpp"
#include <algorithm>
#include <cctype>
#include <iterator>
#include <tuple>
#include "pstore/support/assert.hpp"
Include dependency graph for path.cpp:

Namespaces

 pstore::path
 The 'path' namespace contains all of the functions that are used to manipulated host file paths.
 
 pstore::path::posix
 POSIX-specific path name handling.
 
 pstore::path::win32
 Win32-specific path name handling.
 

Functions

std::pair< std::string, std::string > pstore::path::posix::split_drive (std::string const &path)
 
std::string pstore::path::posix::join (std::string const &path, std::initializer_list< std::string > const &paths)
 
std::pair< std::string, std::string > pstore::path::win32::split_drive (std::string const &path)
 
std::string pstore::path::win32::join (std::string const &path, std::initializer_list< std::string > const &paths)
 
std::string pstore::path::posix::dir_name (std::string const &path)
 
std::string pstore::path::posix::base_name (std::string const &path)
 
std::string pstore::path::win32::dir_name (std::string const &path)
 
std::string pstore::path::win32::base_name (std::string const &path)