class Status
Declaration
class Status { /* full declaration omitted */ };
Description
The result of a \p status operation.
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:45
Member Variables
- public bool IsVFSMapped = false
Method Overview
- public Status(const llvm::sys::fs::file_status & Status)
- public Status(const llvm::Twine & Name, llvm::sys::fs::UniqueID UID, llvm::sys::TimePoint<> MTime, uint32_t User, uint32_t Group, uint64_t Size, llvm::sys::fs::file_type Type, llvm::sys::fs::perms Perms)
- public Status()
- public static llvm::vfs::Status copyWithNewName(const llvm::vfs::Status & In, const llvm::Twine & NewName)
- public static llvm::vfs::Status copyWithNewName(const llvm::sys::fs::file_status & In, const llvm::Twine & NewName)
- public bool equivalent(const llvm::vfs::Status & Other) const
- public bool exists() const
- public uint32_t getGroup() const
- public llvm::sys::TimePoint<> getLastModificationTime() const
- public llvm::StringRef getName() const
- public llvm::sys::fs::perms getPermissions() const
- public uint64_t getSize() const
- public llvm::sys::fs::file_type getType() const
- public llvm::sys::fs::UniqueID getUniqueID() const
- public uint32_t getUser() const
- public bool isDirectory() const
- public bool isOther() const
- public bool isRegularFile() const
- public bool isStatusKnown() const
- public bool isSymlink() const
Methods
¶Status(const llvm::sys::fs::file_status& Status)
Status(const llvm::sys::fs::file_status& Status)
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:60
Parameters
- const llvm::sys::fs::file_status& Status
¶Status(const llvm::Twine& Name,
llvm::sys::fs::UniqueID UID,
llvm::sys::TimePoint<> MTime,
uint32_t User,
uint32_t Group,
uint64_t Size,
llvm::sys::fs::file_type Type,
llvm::sys::fs::perms Perms)
Status(const llvm::Twine& Name,
llvm::sys::fs::UniqueID UID,
llvm::sys::TimePoint<> MTime,
uint32_t User,
uint32_t Group,
uint64_t Size,
llvm::sys::fs::file_type Type,
llvm::sys::fs::perms Perms)
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:61
Parameters
- const llvm::Twine& Name
- llvm::sys::fs::UniqueID UID
- llvm::sys::TimePoint<> MTime
- uint32_t User
- uint32_t Group
- uint64_t Size
- llvm::sys::fs::file_type Type
- llvm::sys::fs::perms Perms
¶Status()
Status()
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:59
¶static llvm::vfs::Status copyWithNewName(
const llvm::vfs::Status& In,
const llvm::Twine& NewName)
static llvm::vfs::Status copyWithNewName(
const llvm::vfs::Status& In,
const llvm::Twine& NewName)
Description
Get a copy of a Status with a different name.
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:67
Parameters
- const llvm::vfs::Status& In
- const llvm::Twine& NewName
¶static llvm::vfs::Status copyWithNewName(
const llvm::sys::fs::file_status& In,
const llvm::Twine& NewName)
static llvm::vfs::Status copyWithNewName(
const llvm::sys::fs::file_status& In,
const llvm::Twine& NewName)
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:68
Parameters
- const llvm::sys::fs::file_status& In
- const llvm::Twine& NewName
¶bool equivalent(
const llvm::vfs::Status& Other) const
bool equivalent(
const llvm::vfs::Status& Other) const
Description
@ } These are static queries in llvm::sys::fs. @ {
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:87
Parameters
- const llvm::vfs::Status& Other
¶bool exists() const
bool exists() const
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:93
¶uint32_t getGroup() const
uint32_t getGroup() const
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:81
¶llvm::sys::TimePoint<> getLastModificationTime()
const
llvm::sys::TimePoint<> getLastModificationTime()
const
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:78
¶llvm::StringRef getName() const
llvm::StringRef getName() const
Description
Returns the name that should be used for this file or directory.
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:72
¶llvm::sys::fs::perms getPermissions() const
llvm::sys::fs::perms getPermissions() const
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:77
¶uint64_t getSize() const
uint64_t getSize() const
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:82
¶llvm::sys::fs::file_type getType() const
llvm::sys::fs::file_type getType() const
Description
@ {
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:76
¶llvm::sys::fs::UniqueID getUniqueID() const
llvm::sys::fs::UniqueID getUniqueID() const
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:79
¶uint32_t getUser() const
uint32_t getUser() const
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:80
¶bool isDirectory() const
bool isDirectory() const
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:88
¶bool isOther() const
bool isOther() const
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:90
¶bool isRegularFile() const
bool isRegularFile() const
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:89
¶bool isStatusKnown() const
bool isStatusKnown() const
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:92
¶bool isSymlink() const
bool isSymlink() const
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:91