LLVM API Documentation
#include <Path.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. | |
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 fields should always be applicable on all platforms. The structure is filled in by the PathWithStatus class.
Definition at line 35 of file Path.h.
| TimeValue llvm::sys::FileStatus::getTimestamp | ( | ) | const [inline] |
Definition at line 49 of file Path.h.
References modTime.
Referenced by llvm::ArchiveMember::getModTime().
| uint64_t llvm::sys::FileStatus::getSize | ( | ) | const [inline] |
Definition at line 50 of file Path.h.
References fileSize.
Referenced by llvm::DiffFilesWithTolerance(), ExpandResponseFiles(), and llvm::ArchiveMember::getSize().
| uint32_t llvm::sys::FileStatus::getMode | ( | ) | const [inline] |
Definition at line 51 of file Path.h.
References mode.
Referenced by llvm::ArchiveMember::getMode().
| uint32_t llvm::sys::FileStatus::getUser | ( | ) | const [inline] |
Definition at line 52 of file Path.h.
References user.
Referenced by llvm::ArchiveMember::getUser().
| uint32_t llvm::sys::FileStatus::getGroup | ( | ) | const [inline] |
Definition at line 53 of file Path.h.
References group.
Referenced by llvm::ArchiveMember::getGroup().
| uint64_t llvm::sys::FileStatus::getUniqueID | ( | ) | const [inline] |
| uint64_t llvm::sys::FileStatus::fileSize |
Size of the file in bytes.
Definition at line 37 of file Path.h.
Referenced by llvm::ArchiveMember::ArchiveMember(), llvm::ArchiveMember::getMemberSize(), getSize(), and llvm::Archive::parseMemberHeader().
Time of file's modification.
Definition at line 38 of file Path.h.
Referenced by llvm::ArchiveMember::ArchiveMember(), getTimestamp(), and llvm::Archive::parseMemberHeader().
| uint32_t llvm::sys::FileStatus::mode |
Mode of the file, if applicable.
Definition at line 39 of file Path.h.
Referenced by llvm::ArchiveMember::ArchiveMember(), getMode(), and llvm::Archive::parseMemberHeader().
| uint32_t llvm::sys::FileStatus::user |
User ID of owner, if applicable.
Definition at line 40 of file Path.h.
Referenced by llvm::ArchiveMember::ArchiveMember(), getUser(), and llvm::Archive::parseMemberHeader().
| uint32_t llvm::sys::FileStatus::group |
Group ID of owner, if applicable.
Definition at line 41 of file Path.h.
Referenced by llvm::ArchiveMember::ArchiveMember(), getGroup(), and llvm::Archive::parseMemberHeader().
| uint64_t llvm::sys::FileStatus::uniqueID |
A number to uniquely ID this file.
Definition at line 42 of file Path.h.
Referenced by getUniqueID().
This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.