LLVM API Documentation
#include <Path.h>
Collaboration diagram for llvm::sys::Path::StatusInfo:
Public Member Functions | |
StatusInfo () | |
Public Attributes | |
size_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. | |
bool | isDir |
True if this is a directory. |
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 fileSize and modTime fields should always be applicabe on all platforms. The structure is filled in by the getStatusInfo method.
Definition at line 67 of file Path.h.
Size of the file in bytes.
Definition at line 70 of file Path.h.
Referenced by llvm::ArchiveMember::ArchiveMember(), llvm::ArchiveMember::getMemberSize(), llvm::sys::Path::getSize(), llvm::ArchiveMember::getSize(), and llvm::Archive::parseMemberHeader().
uint32_t llvm::sys::Path::StatusInfo::group |
Group ID of owner, if applicable.
Definition at line 74 of file Path.h.
Referenced by llvm::ArchiveMember::ArchiveMember(), llvm::ArchiveMember::getGroup(), and llvm::Archive::parseMemberHeader().
uint32_t llvm::sys::Path::StatusInfo::mode |
Mode of the file, if applicable.
Definition at line 72 of file Path.h.
Referenced by llvm::ArchiveMember::ArchiveMember(), llvm::ArchiveMember::getMode(), and llvm::Archive::parseMemberHeader().
Time of file's modification.
Definition at line 71 of file Path.h.
Referenced by llvm::ArchiveMember::ArchiveMember(), llvm::ArchiveMember::getModTime(), llvm::sys::Path::getTimestamp(), and llvm::Archive::parseMemberHeader().
uint32_t llvm::sys::Path::StatusInfo::user |
User ID of owner, if applicable.
Definition at line 73 of file Path.h.
Referenced by llvm::ArchiveMember::ArchiveMember(), llvm::ArchiveMember::getUser(), and llvm::Archive::parseMemberHeader().