aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/e_stripper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/e_stripper.cc')
-rw-r--r--paludis/repositories/e/e_stripper.cc29
1 files changed, 17 insertions, 12 deletions
diff --git a/paludis/repositories/e/e_stripper.cc b/paludis/repositories/e/e_stripper.cc
index 2354284eb..878d5458f 100644
--- a/paludis/repositories/e/e_stripper.cc
+++ b/paludis/repositories/e/e_stripper.cc
@@ -57,40 +57,45 @@ EStripper::~EStripper()
}
void
-EStripper::on_strip(const FSPath & f)
+EStripper::on_enter_dir(const FSPath &)
{
- _imp->options.output_manager()->stdout_stream() << "str " << f.strip_leading(_imp->options.image_dir()) << std::endl;
}
void
-EStripper::on_split(const FSPath & f, const FSPath & g)
+EStripper::on_leave_dir(const FSPath &)
{
- _imp->options.output_manager()->stdout_stream()
- << ((_imp->options.compress_splits()) ? "spz " : "spl ")
- << f.strip_leading(_imp->options.image_dir())
- << " -> " << g.strip_leading(_imp->options.image_dir()) << std::endl;
}
void
-EStripper::on_unknown(const FSPath & f)
+EStripper::on_strip(const FSPath & f)
{
- _imp->options.output_manager()->stdout_stream() << "--- " << f.strip_leading(_imp->options.image_dir()) << std::endl;
+ _imp->options.output_manager()->stdout_stream()
+ << strip_action_desc() << " "
+ << f.strip_leading(_imp->options.image_dir()) << std::endl;
}
void
-EStripper::on_enter_dir(const FSPath &)
+EStripper::on_split(const FSPath & f, const FSPath & g)
{
+ _imp->options.output_manager()->stdout_stream()
+ << split_action_desc() << " "
+ << f.strip_leading(_imp->options.image_dir())
+ << " -> " << g.strip_leading(_imp->options.image_dir()) << std::endl;
}
void
-EStripper::on_leave_dir(const FSPath &)
+EStripper::on_unknown(const FSPath & f)
{
+ _imp->options.output_manager()->stdout_stream()
+ << unknown_action_desc() << " "
+ << f.strip_leading(_imp->options.image_dir()) << std::endl;
}
void
EStripper::strip()
{
- _imp->options.output_manager()->stdout_stream() << ">>> Stripping inside " << _imp->options.image_dir() << std::endl;
+ _imp->options.output_manager()->stdout_stream()
+ << ">>> Stripping inside " << _imp->options.image_dir() << std::endl;
Stripper::strip();
}