Overhaul of command parsing
This commit is contained in:
@@ -63,6 +63,9 @@ std::string hash_to_hex(const HashValue &hash);
|
||||
// Split a string into multiple strings
|
||||
StringVec split(const std::string &s, char sep);
|
||||
|
||||
// Join multiple strings into one string
|
||||
std::string join(const StringVec &strs, std::string sep);
|
||||
|
||||
// Return N repetitions of string A
|
||||
std::string repeat_string(const std::string &a, int n);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user