aboutsummaryrefslogtreecommitdiff
path: root/lib/System/Win32/Path.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-13 19:59:50 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-13 19:59:50 +0000
commit77cc91deaaa06913047869726d9d2890f951aba7 (patch)
tree8fa9cb332878a0e6ffffdbce0bd7ab470cf0c6ac /lib/System/Win32/Path.cpp
parentfcdd82e4a952aeedfa212f3b355bb1bb30887fb6 (diff)
For PR351:
Implement three new functions to allow setting access/permission bits on the file referenced by a path. The makeReadable and makeExecutable methods replace the FileUtilities MakeFileReadable and MakeFileExecutable functions. The makeWritable function is new and provided for consistency since Path has a writable() method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18907 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Win32/Path.cpp')
-rw-r--r--lib/System/Win32/Path.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/System/Win32/Path.cpp b/lib/System/Win32/Path.cpp
index e847154e58..43d553bbd9 100644
--- a/lib/System/Win32/Path.cpp
+++ b/lib/System/Win32/Path.cpp
@@ -287,6 +287,15 @@ Path::getLast() const {
return path.substr(pos+1);
}
+void Path::makeReadable() {
+}
+
+void Path::makeWriteable() {
+}
+
+void Path::makeExecutable() {
+}
+
bool
Path::setDirectory(const std::string& a_path) {
if (a_path.size() == 0)