[keel] Add isUuidUrl function

This commit is contained in:
Gary Talent 2025-05-30 23:14:45 -05:00
parent cce5f52f96
commit 2ca77173d3

View File

@ -60,6 +60,11 @@ ox::Result<ox::CStringView> uuidToPath(Context &ctx, ox::StringViewCR uuid) noex
ox::Result<ox::CStringView> uuidToPath(Context &ctx, ox::UUID const&uuid) noexcept;
[[nodiscard]]
constexpr bool isUuidUrl(ox::StringViewCR path) noexcept {
return ox::beginsWith(path, "uuid://");
}
#ifndef OX_BARE_METAL
namespace detail {