Euphoria
|
vfs_path.h
Go to the documentation of this file.
bool operator!=(const DirPath &lhs, const DirPath &rhs)
Definition: vfs_path.cc:458
std::optional< DirPath > resolve_relative(const DirPath &base)
Definition: vfs_path.cc:349
bool operator==(const DirPath &lhs, const DirPath &rhs)
Definition: vfs_path.cc:444
Definition: vfs_path.h:67
DirPath get_directory(const std::string &single) const
Definition: vfs_path.cc:329
DirPath get_parent_directory() const
Definition: vfs_path.cc:286
static DirPath from_dirs(const std::vector< std::string > &dirs)
Definition: vfs_path.cc:232
std::vector< std::string > split_directories() const
Definition: vfs_path.cc:309
FilePath get_file(const std::string &filename) const
Definition: vfs_path.cc:252
Definition: vfs_path.h:36
FilePath extend_extension_copy(const std::string &ext) const
Definition: vfs_path.cc:189
std::tuple< DirPath, std::string > split_directories_and_file() const
Definition: vfs_path.cc:116
static std::optional< FilePath > from_script_or_empty(const std::string &path)
optional or not, log if error
Definition: vfs_path.cc:102
FilePath set_extension_copy(const std::string &ext) const
Definition: vfs_path.cc:170
std::string get_file_with_extension() const
Definition: vfs_path.cc:144
std::string get_filename_without_extension() const
Definition: vfs_path.cc:151
static std::optional< FilePath > from_script(const std::string &path)
apply only minor changes, return null on invalid
Definition: vfs_path.cc:46
static std::optional< FilePath > from_dirty_source(const std::string &path)
do everything possible to convert from dirty path to valid path
Definition: vfs_path.cc:75
ADD_DEFAULT_FORMATTER(eu::io::FilePath, std::string, eu::io::to_string)