Android-cuttlefish cvd tool
|
#include <functional>
#include <string>
#include "cuttlefish/common/libs/utils/result.h"
#include "cuttlefish/host/libs/config/cuttlefish_config.h"
Go to the source code of this file.
Namespaces | |
namespace | cuttlefish |
Functions | |
Result< void > | cuttlefish::CopyDirectoryRecursively (const std::string &src_dir_path, const std::string &dest_dir_path, const bool verify_dest_dir_empty, std::function< bool(const std::string &)> predicate) |
Result< Json::Value > | cuttlefish::CreateMetaInfo (const CuttlefishConfig &cuttlefish_config, const std::string &snapshot_path) |
Result< std::string > | cuttlefish::InstanceGuestSnapshotPath (const Json::Value &meta_json, const std::string &instance_id) |
std::string | cuttlefish::SnapshotMetaJsonPath (const std::string &snapshot_path) |
Result< Json::Value > | cuttlefish::LoadMetaJson (const std::string &snapshot_path) |
Result< std::vector< std::string > > | cuttlefish::GuestSnapshotDirectories (const std::string &snapshot_path) |
Variables | |
constexpr const char | cuttlefish::kMetaInfoJsonFileName [] = "snapshot_meta_info.json" |
constexpr const char | cuttlefish::kGuestSnapshotField [] = "guest_snapshot" |
constexpr const char | cuttlefish::kSnapshotPathField [] = "snapshot_path" |
constexpr const char | cuttlefish::kCfHomeField [] = "HOME" |
constexpr const char | cuttlefish::kGuestSnapshotBase [] = "guest_vm" |