Closed kjzz closed 6 years ago
@kevina yeah ,if we change to NewSizeSplitter(r io.Reader, size int64) (Splitter,error)
,i will influence other package who use this function.It is a compromise to fix this bug.
WDYT?
And if you decide to do this , i am willing to di it. You can assign it to me,Thx a lot.
You're both right. Yes, it's a breaking change but the current behavior is buggy anyways so I'd make the change and fix dependent packages.
fix bug go-ipfs #5542