wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
path.hpp File Reference

Client-internal path canonicalization. More...

#include <string>
#include <string_view>
Include dependency graph for path.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  wowlib

Functions

std::string wowlib::normalizePath (std::string_view path)
 Canonicalize a client-internal file path.
std::string wowlib::toNativeRelative (std::string_view canonical)
 Convert a canonical path to a forward-slash relative path for use on the native filesystem (project-directory overlay on POSIX).

Detailed Description

Client-internal path canonicalization.

Not welded — bound types accept plain strings and normalize at the boundary.

Definition in file path.hpp.