We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29acd08 commit f4c376bCopy full SHA for f4c376b
1 file changed
src/paimon/common/utils/path_util.h
@@ -39,6 +39,8 @@ class PAIMON_EXPORT PathUtil {
39
~PathUtil() = delete;
40
41
static std::string JoinPath(const std::string& path, const std::string& name) noexcept;
42
+ // TODO(jinli.zjw): should pass `Path.path` and normalize; otherwise if path is
43
+ // "oss://bucket1/", GetParentDirPath will return "oss:"
44
static std::string GetParentDirPath(const std::string& path) noexcept;
45
static std::string GetName(const std::string& path) noexcept;
46
static void TrimLastDelim(std::string* dir_path) noexcept;
0 commit comments