Lines Matching refs:absolutePath
2649 string absolutePath(string path, lazy string base = getcwd())
2665 assert(absolutePath("some/file", "/foo/bar") == "/foo/bar/some/file"); in version()
2666 assert(absolutePath("../file", "/foo/bar") == "/foo/bar/../file"); in version()
2667 assert(absolutePath("/some/file", "/foo/bar") == "/some/file"); in version()
2672 assert(absolutePath(`some\file`, `c:\foo\bar`) == `c:\foo\bar\some\file`); in version()
2673 assert(absolutePath(`..\file`, `c:\foo\bar`) == `c:\foo\bar\..\file`); in version()
2674 assert(absolutePath(`c:\some\file`, `c:\foo\bar`) == `c:\some\file`); in version()
2675 assert(absolutePath(`\`, `c:\`) == `c:\`); in version()
2676 assert(absolutePath(`\some\file`, `c:\foo\bar`) == `c:\some\file`); in version()
2684 static assert(absolutePath("some/file", "/foo/bar") == "/foo/bar/some/file"); in version()
2689 static assert(absolutePath(`some\file`, `c:\foo\bar`) == `c:\foo\bar\some\file`); in version()
2693 assertThrown(absolutePath("bar", "foo"));