[#472] blobstor: move fsTree to a separate package

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2021-04-08 16:53:25 +03:00 committed by Alex Vanin
parent a8a9f88d90
commit 934e394e28
9 changed files with 129 additions and 129 deletions

View file

@ -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
}