aboutsummaryrefslogtreecommitdiff
path: root/paludis/merger-fwd.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-06-24 01:26:14 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-06-24 01:26:14 +0100
commit571e096926ba2518e001dd1e7681cf1dfd94482d (patch)
tree08e37d825e300bf2615f0395d1075c2022f922e1 /paludis/merger-fwd.hh
parent64f0748bd372d7fd7075d69dbdc730ffd93cc941 (diff)
downloadpaludis-571e096926ba2518e001dd1e7681cf1dfd94482d.tar.gz
paludis-571e096926ba2518e001dd1e7681cf1dfd94482d.tar.xz
importare can now change file ownership to root.
importare --rewrite-ids-over-to-root n will rewrite any uid or gid greater than n to 0. -1 disables, which is the default for now. Fixes: ticket:599
Diffstat (limited to 'paludis/merger-fwd.hh')
-rw-r--r--paludis/merger-fwd.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/paludis/merger-fwd.hh b/paludis/merger-fwd.hh
index 991d6a86b..5fda85e12 100644
--- a/paludis/merger-fwd.hh
+++ b/paludis/merger-fwd.hh
@@ -27,6 +27,7 @@
#include <paludis/util/keys.hh>
#include <paludis/util/fs_entry-fwd.hh>
#include <paludis/environment-fwd.hh>
+#include <tr1/functional>
/** \file
* Forward declarations for paludis/merger.hh .
@@ -68,7 +69,8 @@ namespace paludis
kc::Field<k::root, FSEntry>,
kc::Field<k::no_chown, bool>,
kc::Field<k::options, MergerOptions>,
- kc::Field<k::install_under, FSEntry>
+ kc::Field<k::install_under, FSEntry>,
+ kc::Field<k::get_new_ids_or_minus_one, std::tr1::function<std::pair<uid_t, gid_t> (const FSEntry &)> >
> MergerParams;
class MergerError;