refactor: Decompose drive initialization to fs package, add getters for operations

This commit is contained in:
Felicitas Pojtinger
2022-01-07 19:57:01 +01:00
parent 9eb888e5f9
commit f31e4aea9c
4 changed files with 86 additions and 145 deletions

View File

@@ -37,3 +37,19 @@ func NewOperations(
onHeader: onHeader,
}
}
func (o *Operations) GetBackend() config.BackendConfig {
return o.backend
}
func (o *Operations) GetMetadata() config.MetadataConfig {
return o.metadata
}
func (o *Operations) GetPipes() config.PipeConfig {
return o.pipes
}
func (o *Operations) GetCrypto() config.CryptoConfig {
return o.crypto
}