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 59 of file Path.h.
|
|
|
Size of the file in bytes.
Definition at line 62 of file Path.h. Referenced by llvm::ArchiveMember::ArchiveMember(), llvm::ArchiveMember::getMemberSize(), llvm::ArchiveMember::getSize(), llvm::sys::Path::getStatusInfo(), and llvm::Archive::parseMemberHeader(). |
|
Group ID of owner, if applicable.
Definition at line 66 of file Path.h. Referenced by llvm::ArchiveMember::ArchiveMember(), llvm::ArchiveMember::getGroup(), llvm::sys::Path::getStatusInfo(), and llvm::Archive::parseMemberHeader(). |
|
True if this is a directory.
Definition at line 67 of file Path.h. Referenced by llvm::sys::Path::getStatusInfo(). |
|
Mode of the file, if applicable.
Definition at line 64 of file Path.h. Referenced by llvm::ArchiveMember::ArchiveMember(), llvm::ArchiveMember::getMode(), llvm::sys::Path::getStatusInfo(), llvm::Archive::parseMemberHeader(), and llvm::sys::Path::setStatusInfo(). |
|
Time of file's modification.
Definition at line 63 of file Path.h. Referenced by llvm::ArchiveMember::ArchiveMember(), llvm::ArchiveMember::getModTime(), llvm::sys::Path::getStatusInfo(), llvm::Archive::parseMemberHeader(), and llvm::sys::Path::setStatusInfo(). |
|
User ID of owner, if applicable.
Definition at line 65 of file Path.h. Referenced by llvm::ArchiveMember::ArchiveMember(), llvm::sys::Path::getStatusInfo(), llvm::ArchiveMember::getUser(), and llvm::Archive::parseMemberHeader(). |