class RemoteDir
Defined at line 27 of file ../../sdk/lib/vfs/cpp/remote_dir.h
A remote directory holds a channel to a remotely hosted directory to which requests are delegated
when opened.
This class is designed to allow programs to publish remote filesystems as directories without
requiring a separate "mount" step. In effect, a remote directory is "mounted" at creation time.
It is not possible for the client to detach the remote directory or to mount a new one in its
place.
This class is thread-safe.
Public Methods
void RemoteDir (zx::channel remote_dir)
Binds to a remotely hosted directory channel via `remote_dir`. The channel must be valid and
must be compatible with the `fuchsia.io.Directory` protocol.
Defined at line 31 of file ../../sdk/lib/vfs/cpp/remote_dir.h
void RemoteDir (fidl::ClientEnd<fuchsia_io::Directory> directory)
Binds to a remotely hosted directory using the specified `directory`. The handle must be valid.
Defined at line 34 of file ../../sdk/lib/vfs/cpp/remote_dir.h
void RemoteDir (fidl::InterfaceHandle<fuchsia::io::Directory> dir)
Binds to a remotely hosted directory using the specified `dir`. The `dir` handle must be valid.
TODO(https://fxbug.dev/408237874): Mark this as removed at NEXT when we ship API level 29.
Defined at line 43 of file ../../sdk/lib/vfs/cpp/remote_dir.h