void StartRecipe()

in cpp/code/common.cc [33:43]


void StartRecipe(const std::string& recipe_name) {
  if (!current_recipe.empty()) {
    FAIL() << "Attempt to start a recipe " << recipe_name << " but the recipe "
           << current_recipe << " has not been marked finished";
  }
  if (recipe_name.empty()) {
    FAIL() << "Invalid empty recipe name";
  }
  current_recipe = recipe_name;
  rout = std::stringstream();
}