mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Code Cleanup
- All objects now use the same convention for naming members. The consistency is a good thing.
This commit is contained in:
parent
fb6dc5058f
commit
dab06f8672
53 changed files with 1347 additions and 1349 deletions
|
@ -178,17 +178,17 @@ int CmdDiagnostics::execute (std::string& output)
|
|||
// Config: .taskrc found, readable, writable
|
||||
out << bold.colorize ("Configuration")
|
||||
<< "\n"
|
||||
<< " File: " << context.config.original_file.data
|
||||
<< (context.config.original_file.exists () ? " (found)" : " (missing)")
|
||||
<< ", " << context.config.original_file.size () << " bytes"
|
||||
<< " File: " << context.config._original_file._data
|
||||
<< (context.config._original_file.exists () ? " (found)" : " (missing)")
|
||||
<< ", " << context.config._original_file.size () << " bytes"
|
||||
<< ", mode "
|
||||
<< std::setbase (8)
|
||||
<< context.config.original_file.mode ()
|
||||
<< context.config._original_file.mode ()
|
||||
<< "\n";
|
||||
|
||||
// Config: data.location found, readable, writable
|
||||
File location (context.config.get ("data.location"));
|
||||
out << " Data: " << location.data
|
||||
out << " Data: " << location._data
|
||||
<< (location.exists () ? " (found)" : " (missing)")
|
||||
<< ", " << (location.is_directory () ? "dir" : "?")
|
||||
<< ", mode "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue