diff --git a/include/ircd/fs/path.h b/include/ircd/fs/path.h index e935539f0..9834a3d0d 100644 --- a/include/ircd/fs/path.h +++ b/include/ircd/fs/path.h @@ -21,7 +21,7 @@ namespace ircd::fs { enum class base :uint; struct basepath; - using path_view = vector_view; + using path_views = vector_view; using path_strings = vector_view; extern const size_t NAME_MAX_LEN; @@ -34,12 +34,12 @@ namespace ircd::fs filesystem::path _path(std::string); filesystem::path _path(const string_view &); - filesystem::path _path(const path_view &); + filesystem::path _path(const path_views &); filesystem::path _path(const path_strings &); string_view path(const base &) noexcept; string_view path(const mutable_buffer &, const base &, const string_view &); - string_view path(const mutable_buffer &, const path_view &); + string_view path(const mutable_buffer &, const path_views &); string_view path(const mutable_buffer &, const path_strings &); string_view path(const mutable_buffer &, const filesystem::path &); template std::string path_string(A&&...); diff --git a/ircd/fs_path.cc b/ircd/fs_path.cc index cf089a632..77f3dcc8f 100644 --- a/ircd/fs_path.cc +++ b/ircd/fs_path.cc @@ -194,7 +194,7 @@ ircd::fs::path(const mutable_buffer &buf, ircd::string_view ircd::fs::path(const mutable_buffer &buf, - const path_view &list) + const path_views &list) { return strlcpy(buf, _path(list).c_str()); } @@ -243,7 +243,7 @@ catch(const filesystem::filesystem_error &e) } boost::filesystem::path -ircd::fs::_path(const path_view &list) +ircd::fs::_path(const path_views &list) try { filesystem::path ret;