paludis Version 3.0.2
The one true package mangler
paludis::InstallActionOptions Struct Reference

#include <action.hh>

Public Attributes

NamedValue< n::destination, std::shared_ptr< Repository > > destination
NamedValue< n::make_output_manager, std::function< std::shared_ptr< OutputManager >(const InstallAction &)> > make_output_manager
NamedValue< n::perform_uninstall, std::function< void(const std::shared_ptr< const PackageID > &, const UninstallActionOptions &)> > perform_uninstall
NamedValue< n::replacing, std::shared_ptr< const PackageIDSequence > > replacing
NamedValue< n::want_phase, std::function< WantPhase(const std::string &)> > want_phase

Detailed Description

Options for an InstallAction.

See also
InstallAction
Since
0.30

Member Data Documentation

◆ make_output_manager

NamedValue<n::make_output_manager, std::function<std::shared_ptr<OutputManager>( const InstallAction &)> > paludis::InstallActionOptions::make_output_manager

This is a function to avoid chicken / egg problems when using Environment::create_output_manager.

Since
0.36

◆ perform_uninstall

NamedValue<n::perform_uninstall, std::function<void ( const std::shared_ptr<const PackageID> &, const UninstallActionOptions & )> > paludis::InstallActionOptions::perform_uninstall

Callback to carry out an uninstall, for replacing.

Won't necessarily be used. Some repositories have special code paths for reinstalls, and in some cases (e.g. accounts) an upgrade doesn't remove the old version at all.

Since
0.36

◆ replacing

NamedValue<n::replacing, std::shared_ptr<const PackageIDSequence> > paludis::InstallActionOptions::replacing

We must replace these.

Since
0.36

The documentation for this struct was generated from the following file: