the relative path to transform
the transformed path as a lazy range
import std.array; assert(asAbsolutePath(cast(string) null).array == ""); version (Posix) { assert(asAbsolutePath("/foo").array == "/foo"); } version (Windows) { assert(asAbsolutePath("c:/foo").array == "c:/foo"); } asAbsolutePath("foo");
absolutePath which returns an allocated string
Transforms path into an absolute path.
The following algorithm is used: