|
LLVM
7.0.0
|
Represents the result of a call to directory_iterator::status(). More...
#include "llvm/Support/FileSystem.h"
Public Member Functions | |
| basic_file_status ()=default | |
| basic_file_status (file_type Type) | |
| basic_file_status (file_type Type, perms Perms, time_t ATime, time_t MTime, uid_t UID, gid_t GID, off_t Size) | |
| file_type | type () const |
| perms | permissions () const |
| TimePoint | getLastAccessedTime () const |
| TimePoint | getLastModificationTime () const |
| uint32_t | getUser () const |
| uint32_t | getGroup () const |
| uint64_t | getSize () const |
| void | type (file_type v) |
| void | permissions (perms p) |
Protected Attributes | |
| time_t | fs_st_atime = 0 |
| time_t | fs_st_mtime = 0 |
| uid_t | fs_st_uid = 0 |
| gid_t | fs_st_gid = 0 |
| off_t | fs_st_size = 0 |
| file_type | Type = file_type::status_error |
| perms | Perms = perms_not_known |
Represents the result of a call to directory_iterator::status().
This is a subset of the information returned by a regular sys::fs::status() call, and represents the information provided by Windows FileFirstFile/FindNextFile.
Definition at line 158 of file FileSystem.h.
|
default |
|
inlineexplicit |
Definition at line 180 of file FileSystem.h.
|
inline |
Definition at line 183 of file FileSystem.h.
|
inline |
Definition at line 207 of file FileSystem.h.
Referenced by llvm::NewArchiveMember::getFile().
| TimePoint llvm::sys::fs::basic_file_status::getLastAccessedTime | ( | ) | const |
| TimePoint llvm::sys::fs::basic_file_status::getLastModificationTime | ( | ) | const |
Referenced by llvm::NewArchiveMember::getFile(), and llvm::pruneCache().
|
inline |
Definition at line 208 of file FileSystem.h.
Referenced by llvm::FileOutputBuffer::create(), llvm::sys::fs::file_size(), llvm::NewArchiveMember::getFile(), getOpenFileImpl(), getReadWriteFile(), and shouldUseMmap().
|
inline |
Definition at line 206 of file FileSystem.h.
Referenced by llvm::NewArchiveMember::getFile().
|
inline |
Definition at line 201 of file FileSystem.h.
Referenced by llvm::NewArchiveMember::getFile(), and llvm::sys::fs::getPermissions().
|
inline |
Definition at line 225 of file FileSystem.h.
|
inline |
Definition at line 200 of file FileSystem.h.
Referenced by llvm::FileOutputBuffer::create(), llvm::sys::fs::exists(), llvm::sys::fs::get_file_type(), llvm::NewArchiveMember::getFile(), getOpenFileImpl(), getReadWriteFile(), llvm::sys::fs::is_directory(), llvm::sys::fs::is_regular_file(), llvm::sys::fs::is_symlink_file(), llvm::raw_fd_ostream::raw_fd_ostream(), and llvm::sys::fs::status_known().
|
inline |
Definition at line 224 of file FileSystem.h.
|
protected |
Definition at line 161 of file FileSystem.h.
|
protected |
Definition at line 164 of file FileSystem.h.
|
protected |
Definition at line 162 of file FileSystem.h.
|
protected |
Definition at line 165 of file FileSystem.h.
|
protected |
Definition at line 163 of file FileSystem.h.
|
protected |
Definition at line 175 of file FileSystem.h.
|
protected |
Definition at line 174 of file FileSystem.h.
1.8.13