|
roo_io
API Documentation for roo_io
|
#include <stat.h>
Public Types | |
| enum | Type { kNone , kDir , kFile } |
Public Member Functions | |
| Stat (Type type, uint64_t size) | |
| Stat (Status error=kClosed) | |
| bool | exists () const |
| bool | missing () const |
| bool | failed () const |
| bool | isFile () const |
| bool | isDirectory () const |
| uint64_t | size () const |
| Status | status () const |
|
inline |
Definition at line 18 of file stat.h.
References roo_io::kOk.
Referenced by roo_io::DeleteRecursively(), roo_io::Mount::exists(), failed(), isDirectory(), isFile(), roo_io::MkDirRecursively(), and roo_io::MkParentDirRecursively().
|
inline |
|
inline |
|
inline |
Definition at line 31 of file stat.h.
References exists(), and kFile.
Referenced by roo_io::DeleteRecursively(), and roo_io::MkDirRecursively().
|
inline |
Definition at line 22 of file stat.h.
References roo_io::kNotDirectory, and roo_io::kNotFound.
Referenced by failed().
|
inline |
Definition at line 41 of file stat.h.
Referenced by roo_io::DeleteRecursively(), roo_io::MkDirRecursively(), and roo_io::MkParentDirRecursively().