30 Nov
2019
30 Nov
'19
9:48 p.m.
On Sat, Nov 30, 2019 at 6:18 PM Richard W.M. Jones <rjones@redhat.com> wrote:
The rest of the code is screaming out to be refactored so we aren't repeating the same change over and over. How about using something like the attached patch as an initial refactoring?
Very nice, do you want to push it? I can include it in v2.
Yes I'll push it now.
Will think about the rest of your email later!
Meanwhile I posted v2: https://www.redhat.com/archives/libguestfs/2019-November/msg00356.html I added a simpler version of total stats, reusing the print_stat().