|
libwreport
3.5
|
Access a directory on the file system. More...
#include <fs.h>
Data Structures | |
| struct | const_iterator |
| Iterator for directory entries. More... | |
Public Member Functions | |
| Directory (const std::string &pathname) | |
| const_iterator | begin () const |
| Begin iterator on all directory entries. | |
| const_iterator | end () const |
| End iterator on all directory entries. | |
| bool | exists () const |
| Check if the directory exists. | |
| void | stat (struct stat &st) |
| Call stat(2) on the directory. | |
Data Fields | |
| const std::string & | pathname |
| Pathname of the directory. | |
| int | fd |
| O_PATH file descriptor pointing at the directory, or -1 if the directory does not exist. | |
Access a directory on the file system.
1.8.9.1