[#1715] compression: Decouple Config and Compressor
Refactoring. Change-Id: Ide2e1378f30c39045d4bacd13a902331bd4f764f Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
98308d0cad
commit
8c746a914a
12 changed files with 49 additions and 41 deletions
|
@ -158,11 +158,11 @@ func (b *Blobovniczas) Path() string {
|
|||
}
|
||||
|
||||
// SetCompressor implements common.Storage.
|
||||
func (b *Blobovniczas) SetCompressor(cc *compression.Config) {
|
||||
func (b *Blobovniczas) SetCompressor(cc *compression.Compressor) {
|
||||
b.compression = cc
|
||||
}
|
||||
|
||||
func (b *Blobovniczas) Compressor() *compression.Config {
|
||||
func (b *Blobovniczas) Compressor() *compression.Compressor {
|
||||
return b.compression
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue