Closed allencloud closed 8 years ago
Any update?
Seems ok to me, but this change is far from backwards compatible.
Is it worth breaking everyone who is using this library?
What you said is reasonable. @dnephin Thanks for your feedback.
Actually, I did this PR for two reasons:
While, to be honest, backwards compatibility is something I missed, sorry for that. :)
Should we close this PR?
If we can't make it backwards compatible I think we should close it. I understand it is more correct, but I'm not sure we gain enough from it to warrant the breaking change.
Yes. What you said is totally reasonable. Thanks a lot for your review. @dnephin @thaJeztah I am closing it.
Thanks @allencloud
As parseSize already returns error, so I think there is no need to return -1. Then we can change returned type from
int64
touint64
.Signed-off-by: allencloud allen.sun@daocloud.io