class directory_entry
Declaration
class directory_entry { /* full declaration omitted */ };
Description
A member of a directory, yielded by a directory_iterator. Only information available on most platforms is included.
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:151
Member Variables
- private std::string Path
- private llvm::sys::fs::file_type Type = llvm::sys::fs::file_type::type_unknown
Method Overview
- public directory_entry()
- public directory_entry(std::string Path, llvm::sys::fs::file_type Type)
- public llvm::StringRef path() const
- public llvm::sys::fs::file_type type() const
Methods
¶directory_entry()
directory_entry()
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:156
¶directory_entry(std::string Path,
llvm::sys::fs::file_type Type)
directory_entry(std::string Path,
llvm::sys::fs::file_type Type)
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:157
Parameters
- std::string Path
- llvm::sys::fs::file_type Type
¶llvm::StringRef path() const
llvm::StringRef path() const
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:160
¶llvm::sys::fs::file_type type() const
llvm::sys::fs::file_type type() const
Declared at: llvm/include/llvm/Support/VirtualFileSystem.h:161