paludis Version 3.0.2
The one true package mangler
paludis::Merger Class Referenceabstract
Inheritance diagram for paludis::Merger:

Public Member Functions

 Merger (const MergerParams &)
 Merger (const Merger &)=delete
Merger & operator= (const Merger &)=delete
virtual bool check () PALUDIS_ATTRIBUTE((warn_unused_result))
virtual void merge ()

Protected Member Functions

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 Hook extend_hook (const Hook &)
virtual void on_begin_merge ()
void make_check_fail ()
virtual void do_dir_recursive (bool is_check, const FSPath &, const FSPath &)
virtual EntryType entry_type (const FSPath &)
virtual void on_enter_dir (bool is_check, const FSPath)
virtual void on_leave_dir (bool is_check, const FSPath)
virtual void on_done_merge ()
virtual void on_error (bool is_check, const std::string &)=0
virtual void on_warn (bool is_check, const std::string &)=0
virtual void display_override (const std::string &) const =0
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 &)
virtual void on_file_main (bool is_check, const FSPath &, const FSPath &)=0
virtual void on_dir_main (bool is_check, const FSPath &, const FSPath &)=0
virtual void on_sym_main (bool is_check, const FSPath &, const FSPath &)=0
virtual void prepare_install_under ()=0
virtual FSPath canonicalise_root_path (const FSPath &)=0

Member Function Documentation

◆ check()

virtual bool paludis::Merger::check ( )
virtual

Check a merge, return whether no errors were encountered.

Reimplemented in paludis::NDBAMMerger.

References PALUDIS_ATTRIBUTE.

◆ do_dir_recursive()

virtual void paludis::Merger::do_dir_recursive ( bool is_check,
const FSPath & ,
const FSPath &  )
protectedvirtual

Handle a directory, recursively.

Reimplemented in paludis::FSMerger.

◆ entry_type()

virtual EntryType paludis::Merger::entry_type ( const FSPath & )
protectedvirtual

Determine the entry type of a filesystem entry.

◆ extend_hook()

virtual Hook paludis::Merger::extend_hook ( const Hook & )
protectedvirtual

Allows subclasses to extend hook calls.

Reimplemented in paludis::FSMerger, and paludis::NDBAMMerger.

◆ make_check_fail()

void paludis::Merger::make_check_fail ( )
protected

When called, makes check()'s result a failure.

◆ merge()

virtual void paludis::Merger::merge ( )
virtual

Perform the merge.

Reimplemented in paludis::FSMerger, paludis::NDBAMMerger, and paludis::TarMerger.

References merge().

Referenced by merge().

◆ on_begin_merge()

virtual void paludis::Merger::on_begin_merge ( )
protectedvirtual

Allows subclasses to perform behaviour before anything has been merged, after initialization.

◆ on_done_merge()

virtual void paludis::Merger::on_done_merge ( )
protectedvirtual

Allows subclasses to perform behaviour when everything has been merged, before any cleanup.

◆ on_enter_dir()

virtual void paludis::Merger::on_enter_dir ( bool is_check,
const FSPath  )
protectedvirtual

Allows subclasses to perform behaviour when entering a directory.

Reimplemented in paludis::FSMerger, and paludis::NDBAMMerger.

◆ on_error()

virtual void paludis::Merger::on_error ( bool is_check,
const std::string &  )
protectedpure virtual

What to do when an error occurs.

Implemented in paludis::NDBAMMerger.

◆ on_leave_dir()

virtual void paludis::Merger::on_leave_dir ( bool is_check,
const FSPath  )
protectedvirtual

Allows subclasses to perform behaviour when leaving a directory.

◆ on_warn()

virtual void paludis::Merger::on_warn ( bool is_check,
const std::string &  )
protectedpure virtual

What to do when a warning occurs.

Implemented in paludis::NDBAMMerger.


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