forked from TrueCloudLab/frostfs-node
24cf86e269
Implement method to get the information about the metabase. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
12 lines
217 B
Go
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
|
|
}
|