forked from TrueCloudLab/frostfs-node
26b4a258e0
1. Move compression parameters to the `shard` section. 2. Allow to use multiple sub-storage components in the blobstor. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
16 lines
355 B
Go
16 lines
355 B
Go
package fstree
|
|
|
|
import (
|
|
"github.com/nspcc-dev/neofs-node/pkg/util"
|
|
)
|
|
|
|
// Open implements common.Storage.
|
|
func (*FSTree) Open(bool) error { return nil }
|
|
|
|
// Init implements common.Storage.
|
|
func (t *FSTree) Init() error {
|
|
return util.MkdirAllX(t.RootPath, t.Permissions)
|
|
}
|
|
|
|
// Close implements common.Storage.
|
|
func (*FSTree) Close() error { return nil }
|