Lines Matching refs:string_view
29 CStrWrapper(std::string_view sv);
44 void append_next_path(std::string& res, std::string_view c);
58 bool operator()(std::string_view l, std::string_view r) const;
66 inline details::CStrWrapper c_str(std::string_view sv) { in c_str()
70 std::string_view relativize(std::string_view parent, std::string_view nested);
71 inline std::string_view relativize(const char* parent, const char* nested) { in relativize()
72 return relativize(std::string_view(parent), std::string_view(nested)); in relativize()
74 inline std::string_view relativize(std::string_view parent, const char* nested) { in relativize()
75 return relativize(parent, std::string_view(nested)); in relativize()
77 inline std::string_view relativize(const char* parent, std::string_view nested) { in relativize()
78 return relativize(std::string_view(parent), nested); in relativize()
81 std::string_view relativize(std::string&& parent, std::string_view nested) = delete;
82 std::string_view relativize(std::string_view parent, std::string&& nested) = delete;
84 bool isAbsolute(std::string_view path);
85 std::string normalize(std::string_view path);
86 std::string_view dirname(std::string_view path);
87 std::string_view basename(std::string_view path);
88 std::optional<bool> isEmptyDir(std::string_view dir);
89 bool startsWith(std::string_view path, std::string_view prefix);
92 std::string join(std::string_view first, std::string_view second, Paths&&... paths) { in join()