MochiEngine
Loading...
Searching...
No Matches
String utils

Functions

std::string Mochi::Utils::NormalizePath (std::string path)
 Replaces all / with \ and makes all text lowercase. This is used to standarize paths inside the catalog file system.

Detailed Description

Function Documentation

◆ NormalizePath()

std::string Mochi::Utils::NormalizePath ( std::string path)
inline

Replaces all / with \ and makes all text lowercase. This is used to standarize paths inside the catalog file system.

Parameters
pathThe original path.
Returns
The normalized path.