[keel] Add isUuidUrl function
This commit is contained in:
parent
cce5f52f96
commit
2ca77173d3
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user