[#1840] blobstor: Return Path from components

Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
Evgenii Stratonikov 2022-10-05 15:11:12 +03:00 committed by fyrchik
parent 9b241e4a17
commit 328691c94f
3 changed files with 11 additions and 0 deletions

View file

@ -347,6 +347,11 @@ func (*FSTree) Type() string {
return Type
}
// Path implements common.Storage.
func (t *FSTree) Path() string {
return t.RootPath
}
// SetCompressor implements common.Storage.
func (t *FSTree) SetCompressor(cc *compression.Config) {
t.Config = cc