mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 16:24:23 +00:00
Provide Path::isSpecialFile interface for PR5568.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89765 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -380,6 +380,11 @@ namespace sys {
|
||||
/// in the file system.
|
||||
bool canWrite() const;
|
||||
|
||||
/// This function checks that what we're trying to work only on a regular file or Dir.
|
||||
/// Check for things like /dev/null, any block special file,
|
||||
/// or other things that aren't "regular" files.
|
||||
bool isSpecialFile() const;
|
||||
|
||||
/// This function determines if the path name references an executable
|
||||
/// file in the file system. This function checks for the existence and
|
||||
/// executability (by the current program) of the file.
|
||||
|
Reference in New Issue
Block a user