mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-23 03:17:43 +08:00
update unixfs inline option comment to give us room to change things
(addressing CR) License: MIT Signed-off-by: Steven Allen <steven@stebalien.com> This commit was moved from ipfs/interface-go-ipfs-core@7d57764149 This commit was moved from ipfs/boxo@b06611e7da
This commit is contained in:
parent
e59b75ae43
commit
1aa388cb87
@ -171,9 +171,8 @@ func (unixfsOpts) Inline(enable bool) UnixfsAddOption {
|
||||
// option. Default: 32 bytes
|
||||
//
|
||||
// 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
|
||||
// value too high may cause various problems, such as render some
|
||||
// blocks unfetchable.
|
||||
// kept at a reasonably low value, such as 64; implementations may choose to
|
||||
// reject anything larger.
|
||||
func (unixfsOpts) InlineLimit(limit int) UnixfsAddOption {
|
||||
return func(settings *UnixfsAddSettings) error {
|
||||
settings.InlineLimit = limit
|
||||
|
||||
Loading…
Reference in New Issue
Block a user