WPILibC++  2019.3.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
wpi::sys::fs::directory_entry Class Reference

directory_entry - A single entry in a directory. More...

#include <FileSystem.h>

Public Member Functions

 directory_entry (const Twine &path, bool follow_symlinks=true, basic_file_status st=basic_file_status())
 
void assign (const Twine &path, basic_file_status st=basic_file_status())
 
void replace_filename (const Twine &filename, basic_file_status st=basic_file_status())
 
const std::string & path () const
 
ErrorOr< basic_file_statusstatus () const
 
bool operator== (const directory_entry &rhs) const
 
bool operator!= (const directory_entry &rhs) const
 
bool operator< (const directory_entry &rhs) const
 
bool operator<= (const directory_entry &rhs) const
 
bool operator> (const directory_entry &rhs) const
 
bool operator>= (const directory_entry &rhs) const
 

Detailed Description

directory_entry - A single entry in a directory.

Caches the status either from the result of the iteration syscall, or the first time status is called.


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