aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake/fake_package_id.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/fake/fake_package_id.cc')
-rw-r--r--paludis/repositories/fake/fake_package_id.cc60
1 files changed, 0 insertions, 60 deletions
diff --git a/paludis/repositories/fake/fake_package_id.cc b/paludis/repositories/fake/fake_package_id.cc
index 7338d2b09..eb6258c1d 100644
--- a/paludis/repositories/fake/fake_package_id.cc
+++ b/paludis/repositories/fake/fake_package_id.cc
@@ -24,7 +24,6 @@
#include <paludis/action.hh>
#include <paludis/environment.hh>
#include <paludis/version_spec.hh>
-#include <paludis/formatter.hh>
#include <paludis/literal_metadata_key.hh>
#include <paludis/dep_spec.hh>
#include <paludis/choice.hh>
@@ -270,20 +269,6 @@ FakeMetadataSpecTreeKey<C_>::type() const
}
template <typename C_>
-std::string
-FakeMetadataSpecTreeKey<C_>::pretty_print(const typename C_::ItemFormatter &) const
-{
- return _imp->string_value;
-}
-
-template <typename C_>
-std::string
-FakeMetadataSpecTreeKey<C_>::pretty_print_flat(const typename C_::ItemFormatter &) const
-{
- return _imp->string_value;
-}
-
-template <typename C_>
const std::string
FakeMetadataSpecTreeKey<C_>::pretty_print_value(
const PrettyPrinter &, const PrettyPrintOptions &) const
@@ -340,18 +325,6 @@ FakeMetadataSpecTreeKey<FetchableURISpecTree>::pretty_print_value(const PrettyPr
return _imp->string_value;
}
-std::string
-FakeMetadataSpecTreeKey<FetchableURISpecTree>::pretty_print(const FetchableURISpecTree::ItemFormatter &) const
-{
- return _imp->string_value;
-}
-
-std::string
-FakeMetadataSpecTreeKey<FetchableURISpecTree>::pretty_print_flat(const FetchableURISpecTree::ItemFormatter &) const
-{
- return _imp->string_value;
-}
-
const std::shared_ptr<const URILabel>
FakeMetadataSpecTreeKey<FetchableURISpecTree>::initial_label() const
{
@@ -390,18 +363,6 @@ FakeMetadataSpecTreeKey<DependencySpecTree>::pretty_print_value(const PrettyPrin
return _imp->string_value;
}
-std::string
-FakeMetadataSpecTreeKey<DependencySpecTree>::pretty_print(const DependencySpecTree::ItemFormatter &) const
-{
- return _imp->string_value;
-}
-
-std::string
-FakeMetadataSpecTreeKey<DependencySpecTree>::pretty_print_flat(const DependencySpecTree::ItemFormatter &) const
-{
- return _imp->string_value;
-}
-
const std::shared_ptr<const DependenciesLabelSequence>
FakeMetadataSpecTreeKey<DependencySpecTree>::initial_labels() const
{
@@ -1281,27 +1242,6 @@ FakeMetadataKeywordSetKey::pretty_print_value(
return join(value()->begin(), value()->end(), " ", CallPrettyPrinter(pretty_printer));
}
-std::string
-FakeMetadataKeywordSetKey::pretty_print_flat(const Formatter<KeywordName> & f) const
-{
- std::string result;
- for (KeywordNameSet::ConstIterator i(value()->begin()), i_end(value()->end()) ;
- i != i_end ; ++i)
- {
- if (! result.empty())
- result.append(" ");
-
- std::shared_ptr<KeywordNameSet> k(std::make_shared<KeywordNameSet>());
- k->insert(*i);
- if (_imp->env->accept_keywords(k, _imp->id))
- result.append(f.format(*i, format::Accepted()));
- else
- result.append(f.format(*i, format::Unaccepted()));
- }
-
- return result;
-}
-
const std::shared_ptr<const MetadataValueKey<std::shared_ptr<const Choices> > >
FakePackageID::choices_key() const
{