diff options
Diffstat (limited to 'src/main/cpp/blaze_util_platform.h')
-rw-r--r-- | src/main/cpp/blaze_util_platform.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main/cpp/blaze_util_platform.h b/src/main/cpp/blaze_util_platform.h index a3b315c484..4aa462ed0b 100644 --- a/src/main/cpp/blaze_util_platform.h +++ b/src/main/cpp/blaze_util_platform.h @@ -54,7 +54,7 @@ bool IsSharedLibrary(const std::string& filename); // (must be an absolute directory). std::string GetDefaultHostJavabase(); -// Replace the current process with the given program in the given working +// Replace the current process with the given program in the current working // directory, using the given argument vector. // This function does not return on success. void ExecuteProgram(const string& exe, const std::vector<string>& args_vector); @@ -68,6 +68,11 @@ std::string ConvertPath(const std::string& path); // Return a string used to separate paths in a list. std::string ListSeparator(); +// Create a symlink to directory ``target`` at location ``link``. +// Returns true on success, false on failure. +// Implemented via junctions on Windows. +bool SymlinkDirectories(const string &target, const string &link); + } // namespace blaze #endif // BAZEL_SRC_MAIN_CPP_BLAZE_UTIL_PLATFORM_H_ |