|
Android-cuttlefish cvd tool
|
#include "cuttlefish/host/commands/cvd/fetch/substitute.h"#include <unistd.h>#include <cerrno>#include <optional>#include <random>#include <string>#include <string_view>#include <vector>#include "absl/log/log.h"#include "absl/strings/match.h"#include "absl/strings/strip.h"#include "android-base/file.h"#include "fmt/format.h"#include "google/protobuf/text_format.h"#include "cuttlefish/common/libs/utils/environment.h"#include "cuttlefish/common/libs/utils/files.h"#include "cuttlefish/files/directory_exists.h"#include "cuttlefish/files/file_exists.h"#include "cuttlefish/files/is_symlink.h"#include "cuttlefish/host/commands/cvd/fetch/host_pkg_migration.pb.h"#include "cuttlefish/posix/strerror.h"#include "cuttlefish/posix/symlink.h"#include "cuttlefish/result/result.h"
Namespaces | |
| namespace | cuttlefish |
| namespace | cuttlefish::anonymous_namespace{substitute.cc} |
Functions | |
| Result< std::string > | cuttlefish::anonymous_namespace{substitute.cc}::GetCuttlefishCommonDir () |
| Result< void > | cuttlefish::anonymous_namespace{substitute.cc}::Substitute (const std::string &target, const std::string &full_link_name) |
| Result< void > | cuttlefish::anonymous_namespace{substitute.cc}::SubstituteWithFlag (const std::string &target_dir, const std::vector< std::string > &host_substitutions) |
| bool | cuttlefish::anonymous_namespace{substitute.cc}::SubstituteCheckTargetExists (const fetch::HostPkgMigrationConfig &config, std::string_view target_keyword) |
| Result< void > | cuttlefish::anonymous_namespace{substitute.cc}::SubstituteWithMarker (const std::string &target_dir, const std::string &marker_file) |
| Result< void > | cuttlefish::HostPackageSubstitution (const std::string &target_dir, const std::vector< std::string > &host_substitutions) |