paludis Version 3.0.2
The one true package mangler
paludis::NDBAMMerger Class Reference

#include <ndbam_merger.hh>

Inheritance diagram for paludis::NDBAMMerger:

Public Member Functions

 NDBAMMerger (const NDBAMMergerParams &)
Hook extend_hook (const Hook &) override
void record_install_file (const FSPath &, const FSPath &, const std::string &, const FSMergerStatusFlags &) override
void record_install_dir (const FSPath &, const FSPath &, const FSMergerStatusFlags &) override
void record_install_under_dir (const FSPath &, const FSMergerStatusFlags &) override
void record_install_sym (const FSPath &, const FSPath &, const FSMergerStatusFlags &) override
void on_error (bool is_check, const std::string &) override
void on_warn (bool is_check, const std::string &) override
void on_enter_dir (bool is_check, const FSPath) override
bool config_protected (const FSPath &, const FSPath &) override
std::string make_config_protect_name (const FSPath &, const FSPath &) override
void merge () override
bool check () override
 FSMerger (const FSMerger &)=delete
FSMerger & operator= (const FSMerger &)=delete
Public Member Functions inherited from paludis::Merger
 Merger (const MergerParams &)
 Merger (const Merger &)=delete
Merger & operator= (const Merger &)=delete

Additional Inherited Members

Protected Member Functions inherited from paludis::FSMerger
virtual std::string make_arrows (const FSMergerStatusFlags &flags) const
virtual void display_merge (const EntryType &, const FSPath &, const FSMergerStatusFlags &, const std::string &="") const
 FSMerger (const FSMergerParams &)
void track_install_file (const FSPath &, const FSPath &, const std::string &, const FSMergerStatusFlags &)
void track_install_dir (const FSPath &, const FSPath &, const FSMergerStatusFlags &)
void track_install_under_dir (const FSPath &, const FSMergerStatusFlags &)
void track_install_sym (const FSPath &, const FSPath &, const FSMergerStatusFlags &)
void on_file_main (bool is_check, const FSPath &src, const FSPath &dst) override
virtual void on_file_over_nothing (bool is_check, const FSPath &, const FSPath &)
virtual void on_file_over_file (bool is_check, const FSPath &, const FSPath &)
virtual void on_file_over_dir (bool is_check, const FSPath &, const FSPath &)
virtual void on_file_over_sym (bool is_check, const FSPath &, const FSPath &)
virtual void on_file_over_misc (bool is_check, const FSPath &, const FSPath &)
virtual FSMergerStatusFlags install_file (const FSPath &, const FSPath &, const std::string &) PALUDIS_ATTRIBUTE((warn_unused_result))
virtual void unlink_file (FSPath)
void on_dir_main (bool is_check, const FSPath &src, const FSPath &dst) override
virtual void on_dir_over_nothing (bool is_check, const FSPath &, const FSPath &)
virtual void on_dir_over_file (bool is_check, const FSPath &, const FSPath &)
virtual void on_dir_over_dir (bool is_check, const FSPath &, const FSPath &)
virtual void on_dir_over_sym (bool is_check, const FSPath &, const FSPath &)
virtual void on_dir_over_misc (bool is_check, const FSPath &, const FSPath &)
virtual FSMergerStatusFlags install_dir (const FSPath &, const FSPath &) PALUDIS_ATTRIBUTE((warn_unused_result))
virtual void unlink_dir (FSPath)
void on_sym_main (bool is_check, const FSPath &src, const FSPath &dst) override
virtual void on_sym_over_nothing (bool is_check, const FSPath &, const FSPath &)
virtual void on_sym_over_file (bool is_check, const FSPath &, const FSPath &)
virtual void on_sym_over_dir (bool is_check, const FSPath &, const FSPath &)
virtual void on_sym_over_sym (bool is_check, const FSPath &, const FSPath &)
virtual void on_sym_over_misc (bool is_check, const FSPath &, const FSPath &)
virtual FSMergerStatusFlags install_sym (const FSPath &, const FSPath &) PALUDIS_ATTRIBUTE((warn_unused_result))
virtual void unlink_sym (FSPath)
virtual void unlink_misc (FSPath)
void prepare_install_under () override
FSPath canonicalise_root_path (const FSPath &f) override
void do_dir_recursive (bool is_check, const FSPath &, const FSPath &) override
Protected Member Functions inherited from paludis::Merger
bool symlink_needs_rewriting (const FSPath &)
void rewrite_symlink_as_needed (const FSPath &, const FSPath &)
void set_skipped_dir (const bool)
void do_ownership_fixes_recursive (const FSPath &)
bool fixed_ownership_for (const FSPath &)
virtual void on_begin_merge ()
void make_check_fail ()
virtual EntryType entry_type (const FSPath &)
virtual void on_leave_dir (bool is_check, const FSPath)
virtual void on_done_merge ()
virtual void on_misc (bool is_check, const FSPath &, const FSPath &)
virtual void on_file (bool is_check, const FSPath &, const FSPath &)
virtual void on_dir (bool is_check, const FSPath &, const FSPath &)
virtual void on_sym (bool is_check, const FSPath &, const FSPath &)

Detailed Description

Merger subclass for NDBAM.

Since
0.26

Member Function Documentation

◆ check()

bool paludis::NDBAMMerger::check ( )
overridevirtual

Check a merge, return whether no errors were encountered.

Reimplemented from paludis::Merger.

◆ config_protected()

bool paludis::NDBAMMerger::config_protected ( const FSPath & ,
const FSPath &  )
overridevirtual

Implements paludis::FSMerger.

◆ extend_hook()

Hook paludis::NDBAMMerger::extend_hook ( const Hook & )
overridevirtual

Allows subclasses to extend hook calls.

Reimplemented from paludis::FSMerger.

◆ make_config_protect_name()

std::string paludis::NDBAMMerger::make_config_protect_name ( const FSPath & ,
const FSPath &  )
overridevirtual

Implements paludis::FSMerger.

◆ merge()

void paludis::NDBAMMerger::merge ( )
overridevirtual

Perform the merge.

Reimplemented from paludis::FSMerger.

◆ on_enter_dir()

void paludis::NDBAMMerger::on_enter_dir ( bool is_check,
const FSPath  )
overridevirtual

Allows subclasses to perform behaviour when entering a directory.

Reimplemented from paludis::FSMerger.

◆ on_error()

void paludis::NDBAMMerger::on_error ( bool is_check,
const std::string &  )
overridevirtual

What to do when an error occurs.

Implements paludis::Merger.

◆ on_warn()

void paludis::NDBAMMerger::on_warn ( bool is_check,
const std::string &  )
overridevirtual

What to do when a warning occurs.

Implements paludis::Merger.

◆ record_install_dir()

void paludis::NDBAMMerger::record_install_dir ( const FSPath & ,
const FSPath & ,
const FSMergerStatusFlags &  )
overridevirtual

Implements paludis::FSMerger.

◆ record_install_file()

void paludis::NDBAMMerger::record_install_file ( const FSPath & ,
const FSPath & ,
const std::string & ,
const FSMergerStatusFlags &  )
overridevirtual

Implements paludis::FSMerger.

◆ record_install_sym()

void paludis::NDBAMMerger::record_install_sym ( const FSPath & ,
const FSPath & ,
const FSMergerStatusFlags &  )
overridevirtual

Implements paludis::FSMerger.

◆ record_install_under_dir()

void paludis::NDBAMMerger::record_install_under_dir ( const FSPath & ,
const FSMergerStatusFlags &  )
overridevirtual

Implements paludis::FSMerger.


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