2020-11-19 13:52:37 +00:00
|
|
|
package blobstor
|
|
|
|
|
2021-04-08 13:53:25 +00:00
|
|
|
import "github.com/nspcc-dev/neofs-node/pkg/local_object_storage/blobstor/fstree"
|
2020-11-19 13:52:37 +00:00
|
|
|
|
2021-06-23 13:29:46 +00:00
|
|
|
// DumpInfo returns information about blob stor.
|
2021-04-08 13:53:25 +00:00
|
|
|
func (b *BlobStor) DumpInfo() fstree.Info {
|
2022-07-11 12:34:17 +00:00
|
|
|
for i := range b.storage {
|
|
|
|
if b.storage[i].Storage.Type() == "fstree" {
|
|
|
|
return b.storage[i].Storage.(*fstree.FSTree).Info
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return fstree.Info{}
|
2020-11-19 13:52:37 +00:00
|
|
|
}
|