class FsComponent

Defined at line 14 of file ../../src/storage/lib/fs_management/cpp/component.h

Public Methods

void FsComponent (std::string_view url, std::string_view child_name, std::optional<std::string_view> collection_name, bool is_multi_volume)

Defined at line 26 of file ../../src/storage/lib/fs_management/cpp/component.h

FsComponent FromDiskFormat (DiskFormat df)

Returns a component that will launch with a unique name as part of the default fs_management

collection.

Defined at line 34 of file ../../src/storage/lib/fs_management/cpp/component.cc

FsComponent FromUrl (std::string_view url, bool is_multi_volume)

Returns a component that will launch with a unique name and the given URL.

Defined at line 40 of file ../../src/storage/lib/fs_management/cpp/component.cc

bool is_multi_volume ()

Defined at line 43 of file ../../src/storage/lib/fs_management/cpp/component.h

const std::string & child_name ()

Defined at line 44 of file ../../src/storage/lib/fs_management/cpp/component.h

FsComponent StaticChild (std::string_view child_name, DiskFormat df)

Returns a static child component that is using the specified well known format.

Defined at line 44 of file ../../src/storage/lib/fs_management/cpp/component.cc

const std::optional<std::string> & collection_name ()

Defined at line 45 of file ../../src/storage/lib/fs_management/cpp/component.h

void FsComponent (FsComponent && )

Defined at line 50 of file ../../src/storage/lib/fs_management/cpp/component.cc

FsComponent & operator= (FsComponent && )

Defined at line 52 of file ../../src/storage/lib/fs_management/cpp/component.cc

void ~FsComponent ()

Defined at line 63 of file ../../src/storage/lib/fs_management/cpp/component.cc

zx::result<fidl::ClientEnd<fuchsia_io::Directory>> Connect ()

Defined at line 65 of file ../../src/storage/lib/fs_management/cpp/component.cc

zx::result<> DestroyChild ()

Destroys the component (if it's a dynamic child). Does nothing otherwise.

Defined at line 134 of file ../../src/storage/lib/fs_management/cpp/component.cc