MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / NormalizePath

Method NormalizePath

Source/Engine/Platform/Base/FileSystemBase.cpp:94–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void FileSystemBase::NormalizePath(String& path)
95{
96 path.Replace('\\', '/');
97 if (path.Length() > 2 && StringUtils::IsAlpha(path[0]) && path[1] == ':')
98 {
99 path[2] = '\\';
100 }
101}
102
103bool FileSystemBase::IsRelative(const StringView& path)
104{

Callers 15

LoadMethod · 0.45
NewProjectMethod · 0.45
OpenProjectMethod · 0.45
FindMethod · 0.45
LoadFolderMethod · 0.45
LoadScriptsMethod · 0.45
LoadAssetsMethod · 0.45
UpdatePathMethod · 0.45
BuildFunction · 0.45
OnCustomToolsLayoutMethod · 0.45
InitializeMethod · 0.45
GetClonedAssetPathMethod · 0.45

Calls 2

ReplaceMethod · 0.80
LengthMethod · 0.45

Tested by

no test coverage detected