Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include "ortools/base/path.h"
#include <cstring>
#include <string>
#include "absl/strings/str_cat.h"
Go to the source code of this file.
Namespaces | |
namespace | file |
namespace | file::internal |
Functions | |
std::string | file::JoinPath (absl::string_view path1, absl::string_view path2) |
std::string | file::internal::JoinPathImpl (bool honor_abs, std::initializer_list< absl::string_view > paths) |
Not part of the public API. | |
std::pair< absl::string_view, absl::string_view > | file::internal::SplitBasename (absl::string_view path) |
bool | file::IsAbsolutePath (absl::string_view path) |
Return true if path is absolute. | |
std::string | file::AddSlash (absl::string_view path) |
absl::string_view | file::Dirname (absl::string_view path) |
absl::string_view | file::Basename (absl::string_view path) |
std::pair< absl::string_view, absl::string_view > | file::SplitPath (absl::string_view path) |
absl::string_view | file::Stem (absl::string_view path) |
absl::string_view | file::Extension (absl::string_view path) |
std::string | file::CleanPath (const absl::string_view unclean_path) |
std::string | file::CollapseSlashes (absl::string_view path) |