aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/cpp/util/file_platform.h
diff options
context:
space:
mode:
authorGravatar Laszlo Csomor <laszlocsomor@google.com>2016-12-21 12:47:40 +0000
committerGravatar Klaus Aehlig <aehlig@google.com>2016-12-21 12:59:45 +0000
commit48513d71e552e590d71c6f4337d07c52ff799d55 (patch)
tree957906c61776d1f48db5dc25be7f6bd5325d75dc /src/main/cpp/util/file_platform.h
parent25a8c8e9175cc4f7104a1a82f63ab4b8b089b1bd (diff)
Bazel client: remove blaze_util::Which
This is only used in blaze_util_linux so move the method there. -- PiperOrigin-RevId: 142652521 MOS_MIGRATED_REVID=142652521
Diffstat (limited to 'src/main/cpp/util/file_platform.h')
-rw-r--r--src/main/cpp/util/file_platform.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main/cpp/util/file_platform.h b/src/main/cpp/util/file_platform.h
index 15bfd5d737..daed1998d5 100644
--- a/src/main/cpp/util/file_platform.h
+++ b/src/main/cpp/util/file_platform.h
@@ -44,11 +44,6 @@ bool WriteFile(const std::string &content, const std::string &filename);
// Returns true on success. In case of failure sets errno.
bool UnlinkPath(const std::string &file_path);
-// Checks each element of the PATH variable for executable. If none is found, ""
-// is returned. Otherwise, the full path to executable is returned. Can die if
-// looking up PATH fails.
-std::string Which(const std::string &executable);
-
// Returns true if this path exists.
bool PathExists(const std::string& path);