mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Database: Added location accessor
This commit is contained in:
parent
b2f470d113
commit
2d701b768b
2 changed files with 7 additions and 0 deletions
|
@ -59,6 +59,12 @@ void Database::initialize (const std::string& location)
|
|||
// 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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue