forked from TrueCloudLab/frostfs-node
[#472] blobstor: move fsTree to a separate package
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
a8a9f88d90
commit
934e394e28
9 changed files with 129 additions and 129 deletions
|
@ -1,19 +1,8 @@
|
|||
package blobstor
|
||||
|
||||
import (
|
||||
"os"
|
||||
)
|
||||
|
||||
// Info groups the information about BlobStor.
|
||||
type Info struct {
|
||||
// Permission bits of the root directory.
|
||||
Permissions os.FileMode
|
||||
|
||||
// Full path to the root directory.
|
||||
RootPath string
|
||||
}
|
||||
import "github.com/nspcc-dev/neofs-node/pkg/local_object_storage/blobstor/fstree"
|
||||
|
||||
// DumpInfo returns information about the BlobStor.
|
||||
func (b *BlobStor) DumpInfo() Info {
|
||||
func (b *BlobStor) DumpInfo() fstree.Info {
|
||||
return b.fsTree.Info
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue