yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
project_plan_agent.cc File Reference
#include "core/project_plan_agent.h"
#include <algorithm>
#include <cctype>
#include <initializer_list>
#include <utility>
#include "absl/strings/ascii.h"
#include "absl/strings/str_format.h"
#include "core/source_artifact_publisher.h"
#include "util/macro.h"

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::core
 
namespace  yaze::core::anonymous_namespace{project_plan_agent.cc}
 

Functions

bool yaze::core::anonymous_namespace{project_plan_agent.cc}::IsSha256 (std::string_view text)
 
absl::StatusOr< PlanTarget > yaze::core::anonymous_namespace{project_plan_agent.cc}::ParseObservationKey (std::string_view key)
 
template<typename Entry >
bool yaze::core::anonymous_namespace{project_plan_agent.cc}::HasId (const std::vector< Entry > &entries, const std::string &id)
 
bool yaze::core::anonymous_namespace{project_plan_agent.cc}::PlanHasTarget (const ProjectPlan &plan, const PlanTarget &target)
 
absl::Status yaze::core::anonymous_namespace{project_plan_agent.cc}::ValidateObservation (const std::string &key, const PlanJson &obs)
 
nlohmann::json yaze::core::anonymous_namespace{project_plan_agent.cc}::Facts (const PlanJson &obs)
 
absl::StatusOr< const PlanJson * > yaze::core::anonymous_namespace{project_plan_agent.cc}::ExistingSection (const ProjectPlan &plan)
 
absl::Status yaze::core::anonymous_namespace{project_plan_agent.cc}::ReadOptionalString (const PlanJson &root, const char *key, std::string *out)
 
const char * yaze::core::PlanAgentChangeKindName (PlanAgentChangeKind kind)
 
absl::StatusOr< PlanAgentDiff > yaze::core::DiffPlanAgentUpdate (const ProjectPlan &plan, const PlanAgentUpdate &update)
 
absl::StatusOr< PlanAgentDiff > yaze::core::ApplyPlanAgentUpdate (ProjectPlan *plan, const PlanAgentUpdate &update)
 
absl::StatusOr< PlanAgentFileResult > yaze::core::ApplyPlanAgentUpdateToFile (const std::string &path, const PlanAgentUpdate &update, bool dry_run)
 
const PlanJson * yaze::core::FindPlanAgentStatus (const ProjectPlan &plan)
 
const PlanJson * yaze::core::FindPlanAgentObservation (const ProjectPlan &plan, std::string_view key)
 
std::vector< std::string > yaze::core::OrphanedPlanAgentObservations (const ProjectPlan &plan)
 
void yaze::core::RenamePlanAgentObservation (ProjectPlan *plan, std::string_view before, std::string_view after)
 
bool yaze::core::AdoptPlanAgentOnlyChanges (ProjectPlan *draft, std::string_view loaded_source, std::string_view disk_source)
 

Variables

constexpr const char * yaze::core::anonymous_namespace{project_plan_agent.cc}::kTargetKinds []
 
constexpr const char * yaze::core::anonymous_namespace{project_plan_agent.cc}::kStampKeys [] = {"agent", "observed_utc"}