std1.0.0-beta-7 SafeC docs

std :: path

Function std::path_normalize

#include <std/path.h> source · definition

struct String path_normalize(const &char p)

Lexically normalized: repeated separators collapsed, "." components dropped, "x/.." pairs removed (leading ".." kept on a relative path, dropped at the root of an absolute one), no trailing separator. "" and "." normalize to ".".