Index: utils.h |
diff --git a/utils.h b/utils.h |
index 208abe8d48c2a2e976b5b9173b9e935d5baeca64..34b862e109195ec393e81fdbc9562679bb791a90 100644 |
--- a/utils.h |
+++ b/utils.h |
@@ -60,6 +60,9 @@ std::string NormalizePath(const std::string& path, bool strip_trailing_slash); |
// or an error occurs. |
bool FileExists(const char* path); |
+// Returns true if |path| exists and is a symbolic link. |
+bool IsSymlink(const char* path); |
+ |
// The last 6 chars of path must be XXXXXX. They will be randomly changed |
// and a non-existent path will be returned. Intentionally makes a copy |
// of the string passed in. |