|
paludis Version 3.0.2
The one true package mangler
|
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 |
|
virtual |
Check a merge, return whether no errors were encountered.
Reimplemented in paludis::NDBAMMerger.
References PALUDIS_ATTRIBUTE.
|
protectedvirtual |
Handle a directory, recursively.
Reimplemented in paludis::FSMerger.
|
protectedvirtual |
Determine the entry type of a filesystem entry.
Allows subclasses to extend hook calls.
Reimplemented in paludis::FSMerger, and paludis::NDBAMMerger.
|
protected |
When called, makes check()'s result a failure.
|
virtual |
Perform the merge.
Reimplemented in paludis::FSMerger, paludis::NDBAMMerger, and paludis::TarMerger.
References merge().
Referenced by merge().
|
protectedvirtual |
Allows subclasses to perform behaviour before anything has been merged, after initialization.
|
protectedvirtual |
Allows subclasses to perform behaviour when everything has been merged, before any cleanup.
|
protectedvirtual |
Allows subclasses to perform behaviour when entering a directory.
Reimplemented in paludis::FSMerger, and paludis::NDBAMMerger.
|
protectedpure virtual |
What to do when an error occurs.
Implemented in paludis::NDBAMMerger.
|
protectedvirtual |
Allows subclasses to perform behaviour when leaving a directory.
|
protectedpure virtual |
What to do when a warning occurs.
Implemented in paludis::NDBAMMerger.