4b005d3178
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
14 lines
310 B
Go
14 lines
310 B
Go
package blobstor
|
|
|
|
// DumpInfo returns information about blob stor.
|
|
func (b *BlobStor) DumpInfo() Info {
|
|
sub := make([]SubStorageInfo, len(b.storage))
|
|
for i := range b.storage {
|
|
sub[i].Path = b.storage[i].Storage.Path()
|
|
sub[i].Type = b.storage[i].Storage.Type()
|
|
}
|
|
|
|
return Info{
|
|
SubStorages: sub,
|
|
}
|
|
}
|