Commit 7d577641 authored by Steven Allen's avatar Steven Allen

update unixfs inline option comment to give us room to change things

(addressing CR)

License: MIT
Signed-off-by: default avatarSteven Allen <steven@stebalien.com>
parent 641542e1
...@@ -171,9 +171,8 @@ func (unixfsOpts) Inline(enable bool) UnixfsAddOption { ...@@ -171,9 +171,8 @@ func (unixfsOpts) Inline(enable bool) UnixfsAddOption {
// option. Default: 32 bytes // option. Default: 32 bytes
// //
// Note that while there is no hard limit on the number of bytes, it should be // Note that while there is no hard limit on the number of bytes, it should be
// kept at a reasonably low value, such as 64 and no more than 1k. Setting this // kept at a reasonably low value, such as 64; implementations may choose to
// value too high may cause various problems, such as render some // reject anything larger.
// blocks unfetchable.
func (unixfsOpts) InlineLimit(limit int) UnixfsAddOption { func (unixfsOpts) InlineLimit(limit int) UnixfsAddOption {
return func(settings *UnixfsAddSettings) error { return func(settings *UnixfsAddSettings) error {
settings.InlineLimit = limit settings.InlineLimit = limit
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment