Move pkg/storage/erasure to pkg/encoding/erasure - and other cleanups

This commit is contained in:
Harshavardhana
2015-03-07 00:15:58 -08:00
parent 80fa38a41f
commit d992bccd9a
57 changed files with 17 additions and 24 deletions

View File

@@ -63,7 +63,7 @@ func validateHeader(header DataHeader) error {
return nil
}
// WriteData returns error upon any failure
// Write returns error upon any failure
func Write(target io.Writer, key string, part uint8, length uint32, k, m uint8, technique EncoderTechnique, data io.Reader) error {
header := DataHeader{
Key: key,