std :: path
#include <std/path.h> source ยท definition
#include <std/path.h>
struct String path_dirname(const &char p)
Everything before the last component: "a/b/c" -> "a/b", "c" -> "", "/c" -> "/", "a/b/" -> "a". Trailing separators are ignored.