Lines Matching refs:absolutePath
2749 string absolutePath(string path, lazy string base = getcwd())
2765 assert(absolutePath("some/file", "/foo/bar") == "/foo/bar/some/file"); in version()
2766 assert(absolutePath("../file", "/foo/bar") == "/foo/bar/../file"); in version()
2767 assert(absolutePath("/some/file", "/foo/bar") == "/some/file"); in version()
2772 assert(absolutePath(`some\file`, `c:\foo\bar`) == `c:\foo\bar\some\file`); in version()
2773 assert(absolutePath(`..\file`, `c:\foo\bar`) == `c:\foo\bar\..\file`); in version()
2774 assert(absolutePath(`c:\some\file`, `c:\foo\bar`) == `c:\some\file`); in version()
2775 assert(absolutePath(`\`, `c:\`) == `c:\`); in version()
2776 assert(absolutePath(`\some\file`, `c:\foo\bar`) == `c:\some\file`); in version()
2784 static assert(absolutePath("some/file", "/foo/bar") == "/foo/bar/some/file"); in version()
2789 static assert(absolutePath(`some\file`, `c:\foo\bar`) == `c:\foo\bar\some\file`); in version()
2793 assertThrown(absolutePath("bar", "foo"));