2022-07-08 11:33:49 +00:00
|
|
|
package fstree
|
|
|
|
|
2022-07-11 12:34:17 +00:00
|
|
|
import (
|
|
|
|
"github.com/nspcc-dev/neofs-node/pkg/util"
|
|
|
|
)
|
|
|
|
|
2022-07-08 11:33:49 +00:00
|
|
|
// Open implements common.Storage.
|
|
|
|
func (*FSTree) Open(bool) error { return nil }
|
|
|
|
|
|
|
|
// Init implements common.Storage.
|
2022-07-11 12:34:17 +00:00
|
|
|
func (t *FSTree) Init() error {
|
|
|
|
return util.MkdirAllX(t.RootPath, t.Permissions)
|
|
|
|
}
|
2022-07-08 11:33:49 +00:00
|
|
|
|
|
|
|
// Close implements common.Storage.
|
|
|
|
func (*FSTree) Close() error { return nil }
|