]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Remove obsolete path_exists function
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 6 May 2020 11:31:34 +0000 (13:31 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 6 May 2020 11:31:34 +0000 (13:31 +0200)
unittest/util.cpp
unittest/util.hpp

index 45a1014fd8f3bbe50b589030fc4785ae99f31a57..59f6781c047b4fe1621ca93e8bdafbaed3793a26 100644 (file)
 #include "../src/Stat.hpp"
 #include "../src/system.hpp"
 
-bool
-path_exists(const char* path)
-{
-  return Stat::lstat(path);
-}
-
 void
 create_file(const char* path, const char* content)
 {
index fdf6b52eb7b6b5641b4613429fe9991515106001..0c6047ebe8fd1bf3c8fb9d2119d0acc15c031159 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2019 Joel Rosdahl and other contributors
+// Copyright (C) 2010-2020 Joel Rosdahl and other contributors
 //
 // See doc/AUTHORS.adoc for a complete list of contributors.
 //
@@ -20,6 +20,5 @@
 
 #include "../src/system.hpp"
 
-bool path_exists(const char* path);
 bool is_symlink(const char* path);
 void create_file(const char* path, const char* content);