Import/Export final touches

This commit is contained in:
Michal Horejsek
2020-08-12 13:56:49 +02:00
parent 4f0af0fb02
commit 658ead9fb3
82 changed files with 451 additions and 450 deletions

View File

@ -200,7 +200,7 @@ func (c *Config) GetTLSKeyPath() string {
// GetDBDir returns folder for db files.
func (c *Config) GetDBDir() string {
return filepath.Join(c.appDirsVersion.UserCache())
return c.appDirsVersion.UserCache()
}
// GetEventsPath returns path to events file containing the last processed event IDs.
@ -228,9 +228,9 @@ func (c *Config) GetPreferencesPath() string {
return filepath.Join(c.appDirsVersion.UserCache(), "prefs.json")
}
// GetTransferDir returns folder for import/export rule and report files.
// GetTransferDir returns folder for import-export rules files.
func (c *Config) GetTransferDir() string {
return filepath.Join(c.appDirsVersion.UserCache())
return c.appDirsVersion.UserCache()
}
// GetDefaultAPIPort returns default Bridge local API port.