uriDirName

Undocumented in source. Be warned that the author may not have intended to support it.
inout(char)[]
uriDirName
(
scope return inout(char)[] uri
)

Examples

assert("/".uriDirName == "/");
assert("a/".uriDirName == "a");
assert("a".uriDirName == "");
assert("/a".uriDirName == "/");
assert("file:///".uriDirName == "file:///");
assert("file:///a".uriDirName == "file:///");
assert("file:///a/".uriDirName == "file:///a");
assert("file:///foo/bar/".uriDirName == "file:///foo/bar");
assert("file:///foo/bar".uriDirName == "file:///foo");
assert("file:///foo/bar".uriDirName.uriDirName == "file:///");
assert("file:///foo/bar".uriDirName.uriDirName.uriDirName == "file:///");

Meta