diff --git a/boltrest.go b/boltrest.go index 37944d9..fe57543 100644 --- a/boltrest.go +++ b/boltrest.go @@ -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() {