aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-06-12 00:50:11 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-06-12 01:12:11 +0100
commit1bbf308315fc7c0d1e571586df9368460f3b787d (patch)
tree22c15fdfccfc1c504f1afdc5dc2451e2e5303460 /src
parentc87b7d1425a65754ca48ff5b95859ac5686aea0d (diff)
downloadpaludis-1bbf308315fc7c0d1e571586df9368460f3b787d.tar.gz
paludis-1bbf308315fc7c0d1e571586df9368460f3b787d.tar.xz
No need for metadata provide keys
Diffstat (limited to 'src')
-rwxr-xr-xsrc/clients/cave/cmd_display_resolution.cc6
-rw-r--r--src/clients/cave/cmd_info.cc6
-rw-r--r--src/clients/cave/cmd_match.cc6
-rw-r--r--src/clients/cave/cmd_show.cc16
-rw-r--r--src/clients/cave/format_plain_metadata_key.cc5
-rw-r--r--src/clients/instruo/instruo.cc5
6 files changed, 0 insertions, 44 deletions
diff --git a/src/clients/cave/cmd_display_resolution.cc b/src/clients/cave/cmd_display_resolution.cc
index 78317943a..09abb2d4c 100755
--- a/src/clients/cave/cmd_display_resolution.cc
+++ b/src/clients/cave/cmd_display_resolution.cc
@@ -989,12 +989,6 @@ namespace
cout << fuc(fs_mask_by(), fv<'i'>(indent), fv<'k'>(k.human_name()), fv<'v'>(stringify(k.pretty_print_value(printer, { }))));
}
- void visit(const MetadataSpecTreeKey<ProvideSpecTree> & k)
- {
- ColourPrettyPrinter printer(env, id, 0);
- cout << fuc(fs_mask_by(), fv<'i'>(indent), fv<'k'>(k.human_name()), fv<'v'>(stringify(k.pretty_print_value(printer, { }))));
- }
-
void visit(const MetadataSpecTreeKey<PlainTextSpecTree> & k)
{
ColourPrettyPrinter printer(env, id, 0);
diff --git a/src/clients/cave/cmd_info.cc b/src/clients/cave/cmd_info.cc
index 7eb5fb291..94018510c 100644
--- a/src/clients/cave/cmd_info.cc
+++ b/src/clients/cave/cmd_info.cc
@@ -228,12 +228,6 @@ namespace
cout << fuc(fs_metadata(), fv<'h'>(k.human_name()), fv<'i'>(std::string(indent, ' ')), fv<'s'>(k.pretty_print_value(printer, { })));
}
- void visit(const MetadataSpecTreeKey<ProvideSpecTree> & k)
- {
- ColourPrettyPrinter printer(env, make_null_shared_ptr(), indent);
- cout << fuc(fs_metadata(), fv<'h'>(k.human_name()), fv<'i'>(std::string(indent, ' ')), fv<'s'>(k.pretty_print_value(printer, { })));
- }
-
void visit(const MetadataSpecTreeKey<DependencySpecTree> & k)
{
ColourPrettyPrinter printer(env, make_null_shared_ptr(), indent);
diff --git a/src/clients/cave/cmd_match.cc b/src/clients/cave/cmd_match.cc
index 69e55a15f..d39d83562 100644
--- a/src/clients/cave/cmd_match.cc
+++ b/src/clients/cave/cmd_match.cc
@@ -321,12 +321,6 @@ namespace
k.parse_value()->top()->accept(m);
}
- void visit(const MetadataSpecTreeKey<ProvideSpecTree> & k)
- {
- SpecTreeAsString m = { env, id, texts, match_options };
- k.parse_value()->top()->accept(m);
- }
-
void visit(const MetadataSpecTreeKey<SimpleURISpecTree> & k)
{
SpecTreeAsString m = { env, id, texts, match_options };
diff --git a/src/clients/cave/cmd_show.cc b/src/clients/cave/cmd_show.cc
index 0adbc2644..8f1c3dcda 100644
--- a/src/clients/cave/cmd_show.cc
+++ b/src/clients/cave/cmd_show.cc
@@ -644,22 +644,6 @@ namespace
}
}
- void visit(const MetadataSpecTreeKey<ProvideSpecTree> & k)
- {
- if (cmdline.a_complex_keys.specified() || important)
- {
- ColourPrettyPrinter printer(env.get(), maybe_current_id, indent);
- out << fuc(
- (cmdline.a_raw_names.specified() ? fs_metadata_value_raw() : fs_metadata_value_human()),
- fv<'s'>(cmdline.a_raw_names.specified() ? k.raw_name() : k.human_name()),
- fv<'v'>(k.pretty_print_value(printer, basic_ppos)),
- fv<'i'>(std::string(indent, ' ')),
- fv<'b'>(important ? "true" : ""),
- fv<'p'>("")
- );
- }
- }
-
void visit(const MetadataSpecTreeKey<DependencySpecTree> & k)
{
if (cmdline.a_complex_keys.specified() || important)
diff --git a/src/clients/cave/format_plain_metadata_key.cc b/src/clients/cave/format_plain_metadata_key.cc
index fcdbd5abf..528c00caa 100644
--- a/src/clients/cave/format_plain_metadata_key.cc
+++ b/src/clients/cave/format_plain_metadata_key.cc
@@ -90,11 +90,6 @@ namespace
s << k.pretty_print_value(UnformattedPrettyPrinter(), { });
}
- void visit(const MetadataSpecTreeKey<ProvideSpecTree> & k)
- {
- s << k.pretty_print_value(UnformattedPrettyPrinter(), { });
- }
-
void visit(const MetadataSpecTreeKey<FetchableURISpecTree> & k)
{
s << k.pretty_print_value(UnformattedPrettyPrinter(), { });
diff --git a/src/clients/instruo/instruo.cc b/src/clients/instruo/instruo.cc
index 67ab6ee85..880d9bfed 100644
--- a/src/clients/instruo/instruo.cc
+++ b/src/clients/instruo/instruo.cc
@@ -112,11 +112,6 @@ namespace
const std::shared_ptr<const RequiredUseSpecTree> & PALUDIS_ATTRIBUTE((unused)) t(k.parse_value());
}
- void visit(const MetadataSpecTreeKey<ProvideSpecTree> & k)
- {
- const std::shared_ptr<const ProvideSpecTree> & PALUDIS_ATTRIBUTE((unused)) t(k.parse_value());
- }
-
void visit(const MetadataSpecTreeKey<FetchableURISpecTree> & k)
{
const std::shared_ptr<const FetchableURISpecTree> & PALUDIS_ATTRIBUTE((unused)) t(k.parse_value());