class NamespaceBinding

Defined at line 29 of file ../../src/storage/lib/fs_management/cpp/mount.h

RAII wrapper for a binding of a `fuchsia.io.Directory` into the local namespace.

Public Methods

void NamespaceBinding ()

Defined at line 33 of file ../../src/storage/lib/fs_management/cpp/mount.h

void NamespaceBinding (const NamespaceBinding & )

Defined at line 36 of file ../../src/storage/lib/fs_management/cpp/mount.h

NamespaceBinding & operator= (const NamespaceBinding & )

Defined at line 37 of file ../../src/storage/lib/fs_management/cpp/mount.h

void NamespaceBinding (NamespaceBinding && o)

Defined at line 38 of file ../../src/storage/lib/fs_management/cpp/mount.h

NamespaceBinding & operator= (NamespaceBinding && o)

Defined at line 39 of file ../../src/storage/lib/fs_management/cpp/mount.h

zx::result<NamespaceBinding> Create (const char * path, fidl::ClientEnd<fuchsia_io::Directory> dir)

Defined at line 99 of file ../../src/storage/lib/fs_management/cpp/mount.cc

void ~NamespaceBinding ()

Defined at line 123 of file ../../src/storage/lib/fs_management/cpp/mount.cc

void Reset ()

Unbinds the path from the local namespace and resets the internal state of this object to a

default uninitialized state.

Defined at line 114 of file ../../src/storage/lib/fs_management/cpp/mount.cc

std::string Release ()

Resets this object without unbinding the path from the local namespace. Returns the path of

the binding (if it was set).

const std::string & path ()

Defined at line 53 of file ../../src/storage/lib/fs_management/cpp/mount.h