class DirWrapper

Defined at line 118 of file ../../src/storage/minfs/host.h

DirWrapper is a wrapper around an open directory,

which abstracts away the "hostness" or "targetness"

of the underlying target. Additionally, it provides

RAII semantics to the underlying directory.

Public Methods

void DirWrapper ()

Defined at line 120 of file ../../src/storage/minfs/host.h

void DirWrapper (const DirWrapper & )

Not copyable or movable

Defined at line 123 of file ../../src/storage/minfs/host.h

DirWrapper & operator= (const DirWrapper & )

Defined at line 124 of file ../../src/storage/minfs/host.h

void DirWrapper (DirWrapper && )

Defined at line 125 of file ../../src/storage/minfs/host.h

DirWrapper & operator= (DirWrapper && )

Defined at line 126 of file ../../src/storage/minfs/host.h

void ~DirWrapper ()

Defined at line 128 of file ../../src/storage/minfs/host.h

int Make (const char * path, mode_t mode)

Defined at line 130 of file ../../src/storage/minfs/host.h

int Open (const char * path, DirWrapper * out)

Defined at line 133 of file ../../src/storage/minfs/host.h

int Close ()

Defined at line 143 of file ../../src/storage/minfs/host.h

struct dirent * ReadDir ()

Defined at line 144 of file ../../src/storage/minfs/host.h