Represents the result of a call to sys::fs::status().
More...
#include "llvm/Support/FileSystem.h"
|
| file_status ()=default |
|
| file_status (file_type Type) |
|
| file_status (file_type Type, perms Perms, dev_t Dev, nlink_t Links, ino_t Ino, time_t ATime, uint32_t ATimeNSec, time_t MTime, uint32_t MTimeNSec, uid_t UID, gid_t GID, off_t Size) |
|
UniqueID | getUniqueID () const |
|
uint32_t | getLinkCount () const |
|
| basic_file_status ()=default |
|
| basic_file_status (file_type Type) |
|
| basic_file_status (file_type Type, perms Perms, time_t ATime, uint32_t ATimeNSec, time_t MTime, uint32_t MTimeNSec, uid_t UID, gid_t GID, off_t Size) |
|
file_type | type () const |
|
perms | permissions () const |
|
TimePoint | getLastAccessedTime () const |
| The file access time as reported from the underlying file system.
|
|
TimePoint | getLastModificationTime () const |
| The file modification time as reported from the underlying file system.
|
|
uint32_t | getUser () const |
|
uint32_t | getGroup () const |
|
uint64_t | getSize () const |
|
void | type (file_type v) |
|
void | permissions (perms p) |
|
Represents the result of a call to sys::fs::status().
Definition at line 225 of file FileSystem.h.
◆ file_status() [1/3]
llvm::sys::fs::file_status::file_status |
( |
| ) |
|
|
default |
◆ file_status() [2/3]
llvm::sys::fs::file_status::file_status |
( |
file_type |
Type | ) |
|
|
inlineexplicit |
◆ file_status() [3/3]
llvm::sys::fs::file_status::file_status |
( |
file_type |
Type, |
|
|
perms |
Perms, |
|
|
dev_t |
Dev, |
|
|
nlink_t |
Links, |
|
|
ino_t |
Ino, |
|
|
time_t |
ATime, |
|
|
uint32_t |
ATimeNSec, |
|
|
time_t |
MTime, |
|
|
uint32_t |
MTimeNSec, |
|
|
uid_t |
UID, |
|
|
gid_t |
GID, |
|
|
off_t |
Size |
|
) |
| |
|
inline |
◆ getLinkCount()
uint32_t llvm::sys::fs::file_status::getLinkCount |
( |
| ) |
const |
◆ getUniqueID()
UniqueID llvm::sys::fs::file_status::getUniqueID |
( |
| ) |
const |
◆ equivalent
Do file_status's represent the same thing?
- Parameters
-
assert(status_known(A) || status_known(B));
- Returns
- True if A and B both represent the same file system entity, false otherwise.
The documentation for this class was generated from the following file: