frostfs-node/pkg/local_object_storage/metabase/info.go
Leonard Lyubich 24cf86e269 [#189] metabase: Implement DumpInfo method
Implement method to get the information about the metabase.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-12-11 17:19:37 +03:00

12 lines
217 B
Go

package meta
// Info groups the information about DB.
type Info struct {
// Full path to the metabase.
Path string
}
// DumpInfo returns information about the DB.
func (db *DB) DumpInfo() Info {
return db.info
}