#include <misc_image.h>
|
| static constexpr std::string_view | kName = "misc" |
| |
◆ MiscImage() [1/2]
◆ MiscImage() [2/2]
| cuttlefish::MiscImage::MiscImage |
( |
std::string |
| ) |
|
|
private |
◆ Generate()
| Result< std::string > cuttlefish::MiscImage::Generate |
( |
| ) |
|
|
overridevirtual |
If the image file is not ready, generate it. Returns the path to the file.
If this function succeeds, Path() should return the same value afterwards.
Implements cuttlefish::ImageFile.
◆ Name()
| std::string cuttlefish::MiscImage::Name |
( |
| ) |
const |
|
overridevirtual |
Image name, reused in multiple places for consistency.
- The filename (minus .img extension) used on the file system.
- GPT entry name
- Logical partition name within the super image.
Implements cuttlefish::ImageFile.
◆ Path()
| Result< std::string > cuttlefish::MiscImage::Path |
( |
| ) |
const |
|
overridevirtual |
Returns the path on the filesystem where the image file is.
The image file should be ready for use and correct for the current device configuration.
Implements cuttlefish::ImageFile.
◆ kName
| constexpr std::string_view cuttlefish::MiscImage::kName = "misc" |
|
staticconstexpr |
◆ path_
| std::string cuttlefish::MiscImage::path_ |
|
private |
◆ ready_
| bool cuttlefish::MiscImage::ready_ |
|
private |
The documentation for this class was generated from the following files: