Change Copy, Rename to use Path. Remove std::string version of Exists().
Buildfixes Buildfix
This commit is contained in:
parent
0d80362c30
commit
ae06499a0c
24 changed files with 176 additions and 128 deletions
|
@ -594,7 +594,7 @@ static bool TestPath() {
|
|||
EXPECT_EQ_STR(path3.WithExtraExtension("txt").ToString(), std::string("/asdf/jkl/foo/bar.txt"));
|
||||
|
||||
EXPECT_EQ_STR(Path("foo.bar/hello").GetFileExtension(), std::string(""));
|
||||
|
||||
EXPECT_EQ_STR(Path("foo.bar/hello.txt").WithReplacedExtension("txt", "html").ToString(), std::string("foo.bar/hello.html"));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue