Add method to retrieve local filename
This commit is contained in:
parent
9129007194
commit
ac3cdddaea
@ -65,6 +65,11 @@ func (b *DB) Close() error {
|
||||
return err
|
||||
}
|
||||
|
||||
// GetFilename returns the local file for the DB
|
||||
func (b *DB) GetFilename() string {
|
||||
return b.localFile
|
||||
}
|
||||
|
||||
// Offline sets this DB to offline mode
|
||||
// That means it won't try to sync anything
|
||||
func (b *DB) Offline() {
|
||||
|
Loading…
Reference in New Issue
Block a user