mirror of
https://gitea.home.endeavr.de/Marcel/Tarstats-pp.git
synced 2025-12-10 00:39:01 +01:00
this added output of global stats to stdout
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include "tarconst.h"
|
||||
#include <vector>
|
||||
|
||||
|
||||
#ifndef TARSTATS___TARFUNC_H
|
||||
@@ -30,6 +31,10 @@ namespace tar {
|
||||
// to write stats to console in default style
|
||||
void consolestats(std::map<std::string, uintmax_t> &typecount, uintmax_t tarfilesize, uintmax_t sizeofall);
|
||||
|
||||
// to write global stats to stdout
|
||||
void consoleglobalstats (std::map<std::string, uintmax_t> &typecount, uintmax_t itemfilesize,
|
||||
uintmax_t szfiles, std::vector<std::string> &files);
|
||||
|
||||
// to write default console output to txt file
|
||||
void txtfilestats(std::map<std::string, uintmax_t> &typecount, uintmax_t tarfilesize, uintmax_t sizeofall,
|
||||
std::string archiveName);
|
||||
|
||||
Reference in New Issue
Block a user