diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-11-07 04:36:50 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-11-07 04:36:50 +0000 |
commit | 9e07a149b079a28916cdd9d70849cd42344b54d0 (patch) | |
tree | 7205534636d5183308a21127b3ac5f82b62e56ae /lib/System/Win32 | |
parent | 187d8339dbc0530850e54a86edf36f1a865a5823 (diff) |
Add method for checking if a path is a symbolic link.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118367 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Win32')
-rw-r--r-- | lib/System/Win32/Path.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/System/Win32/Path.inc b/lib/System/Win32/Path.inc index 2ead80127b..4db7696b49 100644 --- a/lib/System/Win32/Path.inc +++ b/lib/System/Win32/Path.inc @@ -351,6 +351,11 @@ Path::isDirectory() const { } bool +Path::isSymLink() const { + return false; +} + +bool Path::canRead() const { // FIXME: take security attributes into account. DWORD attr = GetFileAttributes(path.c_str()); |