summaryrefslogtreecommitdiff
path: root/include/llvm/System/Path.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/System/Path.h')
-rw-r--r--include/llvm/System/Path.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/System/Path.h b/include/llvm/System/Path.h
index 20495287b1..cfeacd236e 100644
--- a/include/llvm/System/Path.h
+++ b/include/llvm/System/Path.h
@@ -373,6 +373,12 @@ namespace sys {
/// @brief Determins if the path is a directory in the file system.
bool isDirectory() const;
+ /// This function determines if the path name refences an
+ /// existing symbolic link.
+ /// @returns true if the pathname references an existing symlink.
+ /// @brief Determins if the path is a symlink in the file system.
+ bool isSymLink() const;
+
/// This function determines if the path name references a readable file
/// or directory in the file system. This function checks for
/// the existence and readability (by the current program) of the file