mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
Merge pull request #34 from harshavardhana/pr_out_vandermonde_cauchy
This commit is contained in:
commit
eb36c9e4d1
@ -15,7 +15,7 @@ func main() {
|
||||
app.Name = "minio-encode"
|
||||
app.Usage = "erasure encode a byte stream"
|
||||
app.Action = func(c *cli.Context) {
|
||||
erasureParameters, _ := erasure.ValidateParams(10, 5, 8, erasure.VANDERMONDE)
|
||||
erasureParameters, _ := erasure.ValidateParams(10, 5, 8, erasure.CAUCHY)
|
||||
|
||||
encoder := erasure.NewEncoder(erasureParameters)
|
||||
input, err := ioutil.ReadAll(os.Stdin)
|
||||
|
Loading…
Reference in New Issue
Block a user