LLVM API Documentation
File status structure. More...
#include <PathV1.h>

Public Member Functions | |
| FileStatus () | |
| TimeValue | getTimestamp () const |
| uint64_t | getSize () const |
| uint32_t | getMode () const |
| uint32_t | getUser () const |
| uint32_t | getGroup () const |
| uint64_t | getUniqueID () const |
Public Attributes | |
| uint64_t | fileSize |
| Size of the file in bytes. | |
| TimeValue | modTime |
| Time of file's modification. | |
| uint32_t | mode |
| Mode of the file, if applicable. | |
| uint32_t | user |
| User ID of owner, if applicable. | |
| uint32_t | group |
| Group ID of owner, if applicable. | |
| uint64_t | uniqueID |
| A number to uniquely ID this file. | |
| bool | isDir: 1 |
| True if this is a directory. | |
| bool | isFile: 1 |
| True if this is a file. | |
File status structure.
This structure provides basic file system information about a file. It is patterned after the stat(2) Unix operating system call but made platform independent and eliminates many of the unix-specific fields. However, to support llvm-ar, the mode, user, and group fields are retained. These pertain to unix security and may not have a meaningful value on non-Unix platforms. However, the other fields should always be applicable on all platforms. The structure is filled in by the PathWithStatus class.
| uint32_t llvm::sys::FileStatus::getGroup | ( | ) | const [inline] |
Definition at line 59 of file PathV1.h.
References group.
Referenced by llvm::ArchiveMember::getGroup().
| uint32_t llvm::sys::FileStatus::getMode | ( | ) | const [inline] |
Definition at line 57 of file PathV1.h.
References mode.
Referenced by llvm::ArchiveMember::getMode().
| uint64_t llvm::sys::FileStatus::getSize | ( | ) | const [inline] |
Definition at line 56 of file PathV1.h.
References fileSize.
Referenced by llvm::DiffFilesWithTolerance(), ExpandResponseFiles(), and llvm::ArchiveMember::getSize().
| TimeValue llvm::sys::FileStatus::getTimestamp | ( | ) | const [inline] |
Definition at line 55 of file PathV1.h.
References modTime.
Referenced by llvm::ArchiveMember::getModTime().
| uint64_t llvm::sys::FileStatus::getUniqueID | ( | ) | const [inline] |
| uint32_t llvm::sys::FileStatus::getUser | ( | ) | const [inline] |
Definition at line 58 of file PathV1.h.
References user.
Referenced by llvm::ArchiveMember::getUser().
| uint64_t llvm::sys::FileStatus::fileSize |
Size of the file in bytes.
Definition at line 43 of file PathV1.h.
Referenced by llvm::ArchiveMember::ArchiveMember(), llvm::ArchiveMember::getMemberSize(), getSize(), and llvm::Archive::parseMemberHeader().
| uint32_t llvm::sys::FileStatus::group |
Group ID of owner, if applicable.
Definition at line 47 of file PathV1.h.
Referenced by llvm::ArchiveMember::ArchiveMember(), getGroup(), and llvm::Archive::parseMemberHeader().
| uint32_t llvm::sys::FileStatus::mode |
Mode of the file, if applicable.
Definition at line 45 of file PathV1.h.
Referenced by llvm::ArchiveMember::ArchiveMember(), getMode(), and llvm::Archive::parseMemberHeader().
Time of file's modification.
Definition at line 44 of file PathV1.h.
Referenced by llvm::ArchiveMember::ArchiveMember(), getTimestamp(), and llvm::Archive::parseMemberHeader().
| uint64_t llvm::sys::FileStatus::uniqueID |
A number to uniquely ID this file.
Definition at line 48 of file PathV1.h.
Referenced by getUniqueID().
| uint32_t llvm::sys::FileStatus::user |
User ID of owner, if applicable.
Definition at line 46 of file PathV1.h.
Referenced by llvm::ArchiveMember::ArchiveMember(), getUser(), and llvm::Archive::parseMemberHeader().