LLVM  3.7.0
Public Member Functions | Friends | List of all members
llvm::sys::fs::file_status Class Reference

file_status - Represents the result of a call to stat and friends. More...

#include <FileSystem.h>

Public Member Functions

file_type type () const
 
perms permissions () const
 
TimeValue getLastModificationTime () const
 
UniqueID getUniqueID () const
 
void type (file_type v)
 
void permissions (perms p)
 

Friends

bool equivalent (file_status A, file_status B)
 Do file_status's represent the same thing? More...
 

Detailed Description

file_status - Represents the result of a call to stat and friends.

It has a platform-specific member to store the result.

Definition at line 138 of file FileSystem.h.

Member Function Documentation

TimeValue llvm::sys::fs::file_status::getLastModificationTime ( ) const

Referenced by llvm::writeArchive().

UniqueID llvm::sys::fs::file_status::getUniqueID ( ) const
perms llvm::sys::fs::file_status::permissions ( ) const
inline

Definition at line 197 of file FileSystem.h.

Referenced by llvm::writeArchive().

void llvm::sys::fs::file_status::permissions ( perms  p)
inline

Definition at line 219 of file FileSystem.h.

file_type llvm::sys::fs::file_status::type ( ) const
inline
void llvm::sys::fs::file_status::type ( file_type  v)
inline

Definition at line 218 of file FileSystem.h.

Friends And Related Function Documentation

bool equivalent ( file_status  A,
file_status  B 
)
friend

Do file_status's represent the same thing?

Parameters
AInput file_status.
BInput file_status.

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: