// ToRPCStorageConfig converts from a ffs.StorageConfig to a rpc StorageConfig.
ToRPCStorageConfig converts from a ffs.StorageConfig to a rpc StorageConfig.
// ToRPCStorageConfig converts from a ffs . StorageConfig to a rpc StorageConfig .
func ToRPCStorageConfig(config ffs.StorageConfig) *userPb.StorageConfig {
	return &userPb.StorageConfig{
		Repairable: config.Repairable,
		Hot:        toRPCHotConfig(config.Hot),
		Cold:       toRPCColdConfig(config.Cold),
	}
}
func ToRPCStorageConfig ( config ffs . StorageConfig ) * userPb . StorageConfig { return & userPb . StorageConfig { Repairable : config . Repairable , Hot : toRPCHotConfig ( config . Hot ) , Cold : toRPCColdConfig ( config . Cold ) , } }
ToRPCStorageConfig converts from a ffs.StorageConfig to a rpc StorageConfig.
ToRPCStorageConfig converts from a ffs . StorageConfig to a rpc StorageConfig .