mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 04:13:07 +02:00
Enhancement
- The 'stats' command now includes the new data files in the 'data size' calculation.
This commit is contained in:
parent
bceccba6eb
commit
df2a319201
1 changed files with 6 additions and 0 deletions
|
@ -72,6 +72,12 @@ int CmdStatistics::execute (std::string& output)
|
|||
File undo (location._data + "/undo.data");
|
||||
dataSize += undo.size ();
|
||||
|
||||
File backlog (location._data + "/backlog.data");
|
||||
dataSize += backlog.size ();
|
||||
|
||||
File synch_key (location._data + "/synch_key.data");
|
||||
dataSize += synch_key.size ();
|
||||
|
||||
std::vector <std::string> undoTxns;
|
||||
File::read (undo, undoTxns);
|
||||
int undoCount = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue