#include "types.hh"
#include "store-api.hh"
#include "goal.hh"
#include "realisation.hh"
#include "muxable-pipe.hh"
#include <future>
#include <thread>
Go to the source code of this file.
Classes | |
struct | nix::Child |
class | nix::Worker |
Typedefs | |
typedef std::chrono::time_point< std::chrono::steady_clock > | nix::steady_time_point |
Functions | |
GoalPtr | nix::upcast_goal (std::shared_ptr< PathSubstitutionGoal > subGoal) |
GoalPtr | nix::upcast_goal (std::shared_ptr< DrvOutputSubstitutionGoal > subGoal) |
GoalPtr nix::upcast_goal | ( | std::shared_ptr< PathSubstitutionGoal > | subGoal | ) |
Workaround for not being able to declare a something like
even when Goal is a complete type.
This is still a static cast. The purpose of exporting it is to define it in a place where PathSubstitutionGoal
is concrete, and use it in a place where it is opaque.