mirror of
https://github.com/NixOS/nix
synced 2025-06-27 16:51:15 +02:00
nix copy: Improve progress indicator
It now shows the amount of data copied: [8/1038 copied, 160.4/1590.9 MiB copied] copying path '...'
This commit is contained in:
parent
c5e4404580
commit
b29b6feaba
4 changed files with 111 additions and 38 deletions
|
@ -83,7 +83,7 @@ Activity::Activity() : id(nextId++) { };
|
|||
Activity::Activity(ActivityType type, std::string msg)
|
||||
: Activity()
|
||||
{
|
||||
logger->event(evStartActivity, id, msg);
|
||||
logger->event(evStartActivity, id, type, msg);
|
||||
}
|
||||
|
||||
Activity::~Activity()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue