wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
path.hpp
Go to the documentation of this file.
1#pragma once
2
6
7#include <string>
8#include <string_view>
9
10namespace wowlib {
20 std::string normalizePath(std::string_view path);
21
26 std::string toNativeRelative(std::string_view canonical);
27}
std::string normalizePath(std::string_view path)
Canonicalize a client-internal file path.
Definition path.cpp:4
std::string toNativeRelative(std::string_view canonical)
Convert a canonical path to a forward-slash relative path for use on the native filesystem (project-d...
Definition path.cpp:23