frostfs-node/pkg/local_object_storage/metabase/v2/info.go
Alex Vanin e478c0d024 [#199] Refactor metabase internal structure
Accoring to MetaBase-Plan-B storage engine specification.

Signed-off-by: Alex Vanin <alexey@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
}