blob: 94952dccadf010817ec02727ed5d692e455f5b28 [file] [log] [blame]
Krzysztof Grobelnyb8cc78d2021-11-29 15:54:53 +01001#pragma once
2
3#include <string>
4#include <string_view>
5#include <vector>
6
7namespace utils
8{
9
Krzysztof Grobelnya950e422021-12-31 13:49:00 +010010void verifyIdCharacters(std::string_view id);
11std::pair<std::string, std::string> generateId(
12 std::string_view id, std::string_view name, std::string_view defaultName,
13 const std::vector<std::string>& conflictIds, const size_t maxLength);
Krzysztof Grobelnyb8cc78d2021-11-29 15:54:53 +010014
15} // namespace utils