mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-04 22:28:27 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user