LLVM 19.0.0git
Public Member Functions | List of all members
llvm::vfs::directory_entry Class Reference

A member of a directory, yielded by a directory_iterator. More...

#include "llvm/Support/VirtualFileSystem.h"

Public Member Functions

 directory_entry ()=default
 
 directory_entry (std::string Path, llvm::sys::fs::file_type Type)
 
llvm::StringRef path () const
 
llvm::sys::fs::file_type type () const
 

Detailed Description

A member of a directory, yielded by a directory_iterator.

Only information available on most platforms is included.

Definition at line 149 of file VirtualFileSystem.h.

Constructor & Destructor Documentation

◆ directory_entry() [1/2]

llvm::vfs::directory_entry::directory_entry ( )
default

◆ directory_entry() [2/2]

llvm::vfs::directory_entry::directory_entry ( std::string  Path,
llvm::sys::fs::file_type  Type 
)
inline

Definition at line 155 of file VirtualFileSystem.h.

Member Function Documentation

◆ path()

llvm::StringRef llvm::vfs::directory_entry::path ( ) const
inline

Definition at line 158 of file VirtualFileSystem.h.

◆ type()

llvm::sys::fs::file_type llvm::vfs::directory_entry::type ( ) const
inline

Definition at line 159 of file VirtualFileSystem.h.


The documentation for this class was generated from the following file: