std1.0.0-beta-7 SafeC docs

std :: path

Function std::path_join

#include <std/path.h> source ยท definition

struct String path_join(const &char a, const &char b)

'a' + '/' + 'b' with exactly one separator between them; when 'b' is absolute the result is just 'b' (like Python's os.path.join). An empty side yields the other.