mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Database: Removed unused ::location
This commit is contained in:
parent
2906408a8d
commit
175f0d63f4
3 changed files with 1 additions and 8 deletions
|
@ -59,12 +59,6 @@ void Database::initialize (const std::string& location)
|
||||||
// TODO If there is no data file named YYYY—MM.data, then create it.
|
// TODO If there is no data file named YYYY—MM.data, then create it.
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
std::string Database::location () const
|
|
||||||
{
|
|
||||||
return _location;
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
std::string Database::dump () const
|
std::string Database::dump () const
|
||||||
{
|
{
|
||||||
|
|
|
@ -36,7 +36,6 @@ class Database
|
||||||
public:
|
public:
|
||||||
Database () = default;
|
Database () = default;
|
||||||
void initialize (const std::string&);
|
void initialize (const std::string&);
|
||||||
std::string location () const;
|
|
||||||
std::string dump () const;
|
std::string dump () const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -132,7 +132,7 @@ int CmdDiagnostics (Rules& rules, Database& database, Extensions& extensions, Lo
|
||||||
<< "\n";
|
<< "\n";
|
||||||
|
|
||||||
out << " Database: "
|
out << " Database: "
|
||||||
<< database.location ()
|
<< rules.get ("db") << "/data"
|
||||||
<< "\n";
|
<< "\n";
|
||||||
|
|
||||||
// Determine rc.editor/$EDITOR/$VISUAL.
|
// Determine rc.editor/$EDITOR/$VISUAL.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue