LLVM: llvm::sys::fs::basic_file_status Class Reference (original ) (raw )Represents the result of a call to directory_iterator::status(). More...
#include "[llvm/Support/FileSystem.h](FileSystem%5F8h%5Fsource.html)"
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 133 of file FileSystem.h .
llvm::sys::fs::basic_file_status::basic_file_status ( )
default
◆ basic_file_status() [2/3]
llvm::sys::fs::basic_file_status::basic_file_status ( file_type Type )
inlineexplicit
◆ basic_file_status() [3/3]
llvm::sys::fs::basic_file_status::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 )
inline
◆ getGroup()
uint32_t llvm::sys::fs::basic_file_status::getGroup ( ) const
inline
◆ getLastAccessedTime()◆ getLastModificationTime()
LLVM_ABI TimePoint llvm::sys::fs::basic_file_status::getLastModificationTime
(
)
const
The file modification time as reported from the underlying file system.
The returned value allows for nanosecond precision but the actual resolution is an implementation detail of the underlying file system. There is no guarantee for what kind of resolution you can expect, the resolution can differ across platforms and even across mountpoints on the same machine.
References LLVM_ABI .
Referenced by copyAccessAndModificationTime() , and llvm::pruneCache() .
◆ getSize()
uint64_t llvm::sys::fs::basic_file_status::getSize ( ) const
inline
◆ getUser()
uint32_t llvm::sys::fs::basic_file_status::getUser ( ) const
inline
◆ permissions() [1/2]
perms llvm::sys::fs::basic_file_status::permissions ( ) const
inline
◆ permissions() [2/2]
void llvm::sys::fs::basic_file_status::permissions ( perms p )
inline
◆ type() [1/2]
file_type llvm::sys::fs::basic_file_status::type ( ) const
inline
◆ type() [2/2]
void llvm::sys::fs::basic_file_status::type ( file_type v )
inline
◆ fs_st_atime
time_t llvm::sys::fs::basic_file_status::fs_st_atime = 0
protected
◆ fs_st_atime_nsec
uint32_t llvm::sys::fs::basic_file_status::fs_st_atime_nsec = 0
protected
◆ fs_st_gid
gid_t llvm::sys::fs::basic_file_status::fs_st_gid = 0
protected
◆ fs_st_mtime
time_t llvm::sys::fs::basic_file_status::fs_st_mtime = 0
protected
◆ fs_st_mtime_nsec
uint32_t llvm::sys::fs::basic_file_status::fs_st_mtime_nsec = 0
protected
◆ fs_st_size
off_t llvm::sys::fs::basic_file_status::fs_st_size = 0
protected
◆ fs_st_uid
uid_t llvm::sys::fs::basic_file_status::fs_st_uid = 0
protected
◆ Perms◆ Type
The documentation for this class was generated from the following file: