|
LLVM
3.7.0
|
directory_entry - A single entry in a directory. More...
#include <FileSystem.h>
Public Member Functions | |
| directory_entry (const Twine &path, file_status st=file_status()) | |
| directory_entry () | |
| void | assign (const Twine &path, file_status st=file_status()) |
| void | replace_filename (const Twine &filename, file_status st=file_status()) |
| const std::string & | path () const |
| std::error_code | status (file_status &result) 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 |
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.
Definition at line 678 of file FileSystem.h.
|
inlineexplicit |
Definition at line 683 of file FileSystem.h.
|
inline |
Definition at line 687 of file FileSystem.h.
|
inline |
Definition at line 689 of file FileSystem.h.
References llvm::Twine::str().
|
inline |
Definition at line 700 of file FileSystem.h.
| bool llvm::sys::fs::directory_entry::operator< | ( | const directory_entry & | rhs | ) | const |
| bool llvm::sys::fs::directory_entry::operator<= | ( | const directory_entry & | rhs | ) | const |
|
inline |
Definition at line 699 of file FileSystem.h.
| bool llvm::sys::fs::directory_entry::operator> | ( | const directory_entry & | rhs | ) | const |
| bool llvm::sys::fs::directory_entry::operator>= | ( | const directory_entry & | rhs | ) | const |
|
inline |
Definition at line 696 of file FileSystem.h.
Referenced by llvm::sys::fs::directory_iterator::directory_iterator().
| void llvm::sys::fs::directory_entry::replace_filename | ( | const Twine & | filename, |
| file_status | st = file_status() |
||
| ) |
Definition at line 891 of file Path.cpp.
References llvm::sys::path::append(), llvm::sys::path::remove_filename(), and llvm::StringRef::str().
| std::error_code llvm::sys::fs::directory_entry::status | ( | file_status & | result | ) | const |
Definition at line 1062 of file Path.cpp.
References llvm::sys::fs::status().
1.8.6