forked from TrueCloudLab/frostfs-node
e478c0d024
Accoring to MetaBase-Plan-B storage engine specification. Signed-off-by: Alex Vanin <alexey@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
|
|
}
|