Added the MakeFileReadable() method.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8327 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
John Criswell
2003-09-02 21:09:30 +00:00
parent 9adeccc552
commit 66622be46a
4 changed files with 142 additions and 0 deletions

View File

@@ -51,4 +51,21 @@ std::string getUniqueFilename(const std::string &FilenameBase);
/// In case of failure, the file's access attributes are unspecified.
///
bool MakeFileExecutable (const std::string & Filename);
///
/// Method: MakeFileReadable()
///
/// Description:
/// This method turns on whatever access attributes are needed to make the
/// specified file readable.
///
/// Return value:
/// True - The operation succeeded.
/// False - The operation failed.
///
/// Notes:
/// In case of failure, the file's access attributes are unspecified.
///
bool MakeFileReadable (const std::string & Filename);
#endif